projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
324ddc7
)
f2fs: remove the use of page_cache_release
author
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Thu, 31 Jan 2013 01:15:35 +0000
(10:15 +0900)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Mon, 11 Feb 2013 22:15:01 +0000
(07:15 +0900)
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>
fs/f2fs/node.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/node.c
b/fs/f2fs/node.c
index f71dfbbcb2b0c5a173d15c35899a4fd90f61ada5..33fa6d506d94b5db3d693f44d8151887baa907c3 100644
(file)
--- 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)
f2fs_put_page(page, 1);
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);
release_out:
-
page_cache_release(apage
);
+
f2fs_put_page(apage, 0
);
return;
}