diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-22 07:03:47 +0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-28 10:03:04 +0400 |
commit | 93ff10d690ca536fdbd6b5d5d97e4ab54b2a421f (patch) | |
tree | ca3b1cf6aa5df5dd167105e4ac599140c83329ee /fs/f2fs/namei.c | |
parent | 39cf72cf09c8f36a383919e7675bdb15bd4db53b (diff) | |
download | linux-93ff10d690ca536fdbd6b5d5d97e4ab54b2a421f.tar.xz |
f2fs: should not make_bad_inode on f2fs_link failure
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>
Diffstat (limited to 'fs/f2fs/namei.c')
-rw-r--r-- | fs/f2fs/namei.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/f2fs/namei.c b/fs/f2fs/namei.c index 729b28548546..71aa30559c53 100644 --- 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; } |