diff options
author | Chao Yu <chao2.yu@samsung.com> | 2016-02-24 10:16:47 +0100 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2016-02-26 20:52:01 +0100 |
commit | f28b3434afb8bb586965970039e46ffb6a1be033 (patch) | |
tree | d24892986e0ee9a34a189762c4c8b11ebe67f740 /fs/f2fs/inline.c | |
parent | f2fs crypto: fix incorrect positioning for GCing encrypted data page (diff) | |
download | linux-f28b3434afb8bb586965970039e46ffb6a1be033.tar.xz linux-f28b3434afb8bb586965970039e46ffb6a1be033.zip |
f2fs: introduce f2fs_update_data_blkaddr for cleanup
Add a new help f2fs_update_data_blkaddr to clean up redundant codes.
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.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c index d40261ca0f29..1c00f2c718ae 100644 --- a/fs/f2fs/inline.c +++ b/fs/f2fs/inline.c @@ -133,8 +133,6 @@ int f2fs_convert_inline_page(struct dnode_of_data *dn, struct page *page) set_page_writeback(page); fio.old_blkaddr = dn->data_blkaddr; write_data_page(dn, &fio); - set_data_blkaddr(dn); - f2fs_update_extent_cache(dn); f2fs_wait_on_page_writeback(page, DATA, true); if (dirty) inode_dec_dirty_pages(dn->inode); |