projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39cf72c
)
f2fs: should not make_bad_inode on f2fs_link failure
author
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Wed, 22 May 2013 03:03:47 +0000
(12:03 +0900)
committer
Jaegeuk Kim
<jaegeuk.kim@samsung.com>
Tue, 28 May 2013 06:03:04 +0000
(15:03 +0900)
If -ENOSPC is met during f2fs_link, we should not make the inode as bad.
The inode is still alive.
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/namei.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/f2fs/namei.c
b/fs/f2fs/namei.c
index 729b28548546c52d8ca3e76778ad81cfedea9324..71aa30559c53912abb71dfe876f45e37345cfb51 100644
(file)
--- a/
fs/f2fs/namei.c
+++ b/
fs/f2fs/namei.c
@@
-191,7
+191,6
@@
static int f2fs_link(struct dentry *old_dentry, struct inode *dir,
return 0;
out:
clear_inode_flag(F2FS_I(inode), FI_INC_LINK);
- make_bad_inode(inode);
iput(inode);
return err;
}