From: Chao Yu Date: Sat, 16 Nov 2013 06:15:59 +0000 (+0800) Subject: f2fs: use f2fs_put_page to release page for uniform style X-Git-Tag: accepted/tizen/common/20141203.182822~747^2~87 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75c3c8bc88d573d6823fcf2576f5c47e4fc41710;p=platform%2Fkernel%2Flinux-arm64.git f2fs: use f2fs_put_page to release page for uniform style We should use f2fs_put_page to release page for uniform style of f2fs code. Signed-off-by: Chao Yu Signed-off-by: Jaegeuk Kim --- diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index aa3438c..076a60c 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -714,8 +714,7 @@ static int f2fs_write_end(struct file *file, update_inode_page(inode); } - unlock_page(page); - page_cache_release(page); + f2fs_put_page(page, 1); return copied; }