summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/inline.c
diff options
context:
space:
mode:
authorJaegeuk Kim <jaegeuk@kernel.org>2016-01-07 14:15:04 -0800
committerJaegeuk Kim <jaegeuk@kernel.org>2016-01-08 11:45:23 -0800
commit2c4db1a6f6b42e2a9fb611cbbeb71a3a9a358ee0 (patch)
treec61e7933ca50c9f69d54adc216e6384a186e3082 /fs/f2fs/inline.c
parent2a4b8e9fab9cea45d90179d9ee8e718c5ed26457 (diff)
downloadop-kernel-dev-2c4db1a6f6b42e2a9fb611cbbeb71a3a9a358ee0.zip
op-kernel-dev-2c4db1a6f6b42e2a9fb611cbbeb71a3a9a358ee0.tar.gz
f2fs: clean up f2fs_balance_fs
This patch adds one parameter to clean up all the callers of f2fs_balance_fs. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/inline.c')
-rw-r--r--fs/f2fs/inline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/f2fs/inline.c b/fs/f2fs/inline.c
index 5ffbd16..c3f0b7d 100644
--- a/fs/f2fs/inline.c
+++ b/fs/f2fs/inline.c
@@ -200,8 +200,7 @@ out:
f2fs_put_page(page, 1);
- if (dn.node_changed)
- f2fs_balance_fs(sbi);
+ f2fs_balance_fs(sbi, dn.node_changed);
return err;
}
OpenPOWER on IntegriCloud