aboutsummaryrefslogtreecommitdiffstats
path: root/fs/f2fs
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk.kim@samsung.com>2013-01-30 20:15:35 -0500
committerJaegeuk Kim <jaegeuk.kim@samsung.com>2013-02-11 17:15:01 -0500
commit369a708c2a6557fabd409cf17a03db271c54931a (patch)
tree78cab2e82f23af46aa5fb6b3c2b51cc7b841faae /fs/f2fs
parent324ddc702eb89fb4ec8ed0cb38b4563ba4804f88 (diff)
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: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs')
-rw-r--r--fs/f2fs/node.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/f2fs/node.c b/fs/f2fs/node.c
index f71dfbbcb2b0..33fa6d506d94 100644
--- a/fs/f2fs/node.c
+++ b/fs/f2fs/node.c
@@ -104,7 +104,7 @@ static void ra_nat_pages(struct f2fs_sb_info *sbi, int nid)
104 f2fs_put_page(page, 1); 104 f2fs_put_page(page, 1);
105 continue; 105 continue;
106 } 106 }
107 page_cache_release(page); 107 f2fs_put_page(page, 0);
108 } 108 }
109} 109}
110 110
@@ -877,7 +877,7 @@ void ra_node_page(struct f2fs_sb_info *sbi, nid_t nid)
877 unlock_page(apage); 877 unlock_page(apage);
878 878
879release_out: 879release_out:
880 page_cache_release(apage); 880 f2fs_put_page(apage, 0);
881 return; 881 return;
882} 882}
883 883