Merge "f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read"
This commit is contained in:
commit
6230ae3c42
1 changed files with 1 additions and 1 deletions
|
@ -1457,7 +1457,7 @@ static ssize_t f2fs_quota_read(struct super_block *sb, int type, char *data,
|
||||||
while (toread > 0) {
|
while (toread > 0) {
|
||||||
tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread);
|
tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread);
|
||||||
repeat:
|
repeat:
|
||||||
page = read_mapping_page(mapping, blkidx, NULL);
|
page = read_cache_page_gfp(mapping, blkidx, GFP_NOFS);
|
||||||
if (IS_ERR(page)) {
|
if (IS_ERR(page)) {
|
||||||
if (PTR_ERR(page) == -ENOMEM) {
|
if (PTR_ERR(page) == -ENOMEM) {
|
||||||
congestion_wait(BLK_RW_ASYNC, HZ/50);
|
congestion_wait(BLK_RW_ASYNC, HZ/50);
|
||||||
|
|
Loading…
Add table
Reference in a new issue