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

Commit 369a708c authored by Jaegeuk Kim's avatar Jaegeuk Kim
Browse files

f2fs: remove the use of page_cache_release



Let's remove the use of page_cache_release() in f2fs, and instead, use
f2fs_put_page(page, 0) which is exactly same but for code readability.

Signed-off-by: default avatarJaegeuk Kim <jaegeuk.kim@samsung.com>
parent 324ddc70
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -104,7 +104,7 @@ static void ra_nat_pages(struct f2fs_sb_info *sbi, int nid)
			f2fs_put_page(page, 1);
			f2fs_put_page(page, 1);
			continue;
			continue;
		}
		}
		page_cache_release(page);
		f2fs_put_page(page, 0);
	}
	}
}
}


@@ -877,7 +877,7 @@ void ra_node_page(struct f2fs_sb_info *sbi, nid_t nid)
		unlock_page(apage);
		unlock_page(apage);


release_out:
release_out:
	page_cache_release(apage);
	f2fs_put_page(apage, 0);
	return;
	return;
}
}