projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06d6f22
)
f2fs: add missing f2fs_balance_fs in __recover_dot_dentries
author
Chao Yu
<chao2.yu@samsung.com>
Thu, 24 Dec 2015 10:03:29 +0000
(18:03 +0800)
committer
Jaegeuk Kim
<jaegeuk@kernel.org>
Wed, 30 Dec 2015 18:14:14 +0000
(10:14 -0800)
__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>
fs/f2fs/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/namei.c
b/fs/f2fs/namei.c
index e439f32d31e6e95274a9aacf8ad286543d00fe83..fb41c8082696411d82432cff9c9f79f097f927f6 100644
(file)
--- 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);