diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c index 98b2c7ff1804c5d3dfa7d40ed3beb896d57cd391..0c1fe9b875023f1618ee2d4ac0e7bdfebb933b69 100644 --- a/fs/f2fs/super.c +++ b/fs/f2fs/super.c @@ -1572,7 +1572,7 @@ static ssize_t f2fs_quota_read(struct super_block *sb, int type, char *data, while (toread > 0) { tocopy = min_t(unsigned long, sb->s_blocksize - offset, toread); repeat: - page = read_mapping_page(mapping, blkidx, NULL); + page = read_cache_page_gfp(mapping, blkidx, GFP_NOFS); if (IS_ERR(page)) { if (PTR_ERR(page) == -ENOMEM) { congestion_wait(BLK_RW_ASYNC, HZ/50);