Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e94d04e0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "f2fs: Set GF_NOFS in read_cache_page_gfp while doing f2fs_quota_read"

parents 24af1ae9 0bd460d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1456,7 +1456,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);