diff options
author | Chao Yu <chao2.yu@samsung.com> | 2015-12-24 18:03:29 +0800 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2015-12-30 10:14:14 -0800 |
commit | d53841740fd7feec170339203b198020ff100c58 (patch) | |
tree | 5ed5370378ad7f66cdce83eb4c4d733397bd3604 /fs/f2fs/namei.c | |
parent | 06d6f2263913029ccd6199fd10e7dca525d348b1 (diff) | |
download | op-kernel-dev-d53841740fd7feec170339203b198020ff100c58.zip op-kernel-dev-d53841740fd7feec170339203b198020ff100c58.tar.gz |
f2fs: add missing f2fs_balance_fs in __recover_dot_dentries
__recover_do_dentries will try to grab free space in storage, so fix to
add missing f2fs_balance_fs here.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/namei.c')
-rw-r--r-- | fs/f2fs/namei.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index e439f32..fb41c80 100644 --- a/fs/f2fs/namei.c +++ b/fs/f2fs/namei.c @@ -214,6 +214,8 @@ static int __recover_dot_dentries(struct inode *dir, nid_t pino) struct page *page; int err = 0; + f2fs_balance_fs(sbi); + f2fs_lock_op(sbi); de = f2fs_find_entry(dir, &dot, &page); |