diff options
Diffstat (limited to 'fs/f2fs/shrinker.c')
-rw-r--r-- | fs/f2fs/shrinker.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/shrinker.c b/fs/f2fs/shrinker.c index 1f0a131be3d2..9aa4235cd304 100644 --- a/fs/f2fs/shrinker.c +++ b/fs/f2fs/shrinker.c @@ -117,6 +117,8 @@ void f2fs_join_shrinker(struct f2fs_sb_info *sbi) void f2fs_leave_shrinker(struct f2fs_sb_info *sbi) { + f2fs_shrink_extent_tree(sbi, __count_extent_cache(sbi)); + spin_lock(&f2fs_list_lock); list_del(&sbi->s_list); spin_unlock(&f2fs_list_lock); |