]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: kill __is_extent_same
authorChao Yu <yuchao0@huawei.com>
Sat, 25 Feb 2017 09:29:54 +0000 (17:29 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 27 Feb 2017 18:07:43 +0000 (10:07 -0800)
commitfdcb589e5335efa6439a035ea5362554a1332763
tree14878aa0d0bbb8fa0b82f315323bd9a9a32a1666
parent33c81f93b1e45f3e5844f1c769dcdd28541e2e7c
f2fs: kill __is_extent_same

Since commit 73c3ce3c8ab3 ("f2fs: remove syncing inode page in all the
cases") delayed inode element updating from inode cache to node page
cache, so once largest cached extent is updated, we can make inode dirty
immediately instead of checking and updating it in the end of extent
cache update.

The above commit didn't clean up unneeded codes in extent_cache.c, let's
finish the job in this patch.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/extent_cache.c
fs/f2fs/f2fs.h