]> git.karo-electronics.de Git - linux-beck.git/commit
f2fs: maintain extent cache in separated file
authorChao Yu <chao2.yu@samsung.com>
Wed, 8 Jul 2015 09:59:36 +0000 (17:59 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 4 Aug 2015 21:09:58 +0000 (14:09 -0700)
commita28ef1f5aebe1068fc5fd65c4699c1c3b1e9094b
treec66873bd837f453243bde9b6342346e8e992f313
parent3c7df87dad065a4656b13115593c59c8a324a108
f2fs: maintain extent cache in separated file

This patch moves extent cache related code from data.c into extent_cache.c
since extent cache is independent feature, and its codes are not relate to
others in data.c, it's better for us to maintain them in separated place.

There is no functionality change, but several small coding style fixes
including:
* rename __drop_largest_extent to f2fs_drop_largest_extent for exporting;
* rename misspelled word 'untill' to 'until';
* remove unneeded 'return' in the end of f2fs_destroy_extent_tree().

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/Makefile
fs/f2fs/data.c
fs/f2fs/extent_cache.c [new file with mode: 0644]
fs/f2fs/f2fs.h