summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inline.c
diff options
context:
space:
mode:
authorChao Yu <chao2.yu@samsung.com>2015-02-05 10:51:34 +0100
committerJaegeuk Kim <jaegeuk@kernel.org>2015-03-03 18:58:46 +0100
commit7e4dde79df7cdf8b40282857e030c7572ff04886 (patch)
tree62dc7ee778635dc2d20287d08f5ba982aff0903b /fs/f2fs/inline.c
parentf2fs: introduce f2fs_map_bh to clean codes of check_extent_cache (diff)
downloadlinux-7e4dde79df7cdf8b40282857e030c7572ff04886.tar.xz
linux-7e4dde79df7cdf8b40282857e030c7572ff04886.zip
f2fs: introduce universal lookup/update interface for extent cache
In this patch, we do these jobs: 1. rename {check,update}_extent_cache to {lookup,update}_extent_info; 2. introduce universal lookup/update interface of extent cache: f2fs_{lookup,update}_extent_cache including above two real functions, then export them to function callers. So after above cleanup, we can add new rb-tree based extent cache into exported interfaces. v2: o remove "f2fs_" for inner function {lookup,update}_extent_info suggested by Jaegeuk Kim. Signed-off-by: Chao Yu <chao2.yu@samsung.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inline.c')
-rw-r--r--fs/f2fs/inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c
index 82b74415b623..4ba97320d194 100644
--- a/fs/f2fs/inline.c
+++ b/fs/f2fs/inline.c
@@ -122,7 +122,7 @@ no_update:
set_page_writeback(page);
fio.blk_addr = dn->data_blkaddr;
write_data_page(page, dn, &fio);
- update_extent_cache(dn);
+ f2fs_update_extent_cache(dn);
f2fs_wait_on_page_writeback(page, DATA);
if (dirty)
inode_dec_dirty_pages(dn->inode);