f2fs: fix to skip shrinking extent nodes
authorChao Yu <chao2.yu@samsung.com>
Thu, 22 Oct 2015 10:24:12 +0000 (18:24 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 22 Oct 2015 16:39:35 +0000 (09:39 -0700)
commitbeaa57dd986d4f398728c060692fc2452895cfd8
tree386f230b7e606241546feef6700faa74aef438a6
parenta6be014e1d28339ba7c745fc4ac1efdbf6e2c1a2
f2fs: fix to skip shrinking extent nodes

In f2fs_shrink_extent_tree we should stop shrink flow if we have already
shrunk enough nodes in extent cache.

Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/extent_cache.c