diff options
author | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-25 11:55:53 -0700 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-09-30 15:34:55 -0700 |
commit | 44c16156512f33c81e382a1e1df9524e26a7026a (patch) | |
tree | b06e5aba8d4a5419c1a11a6d0da00450c8e2d766 /fs/f2fs/f2fs.h | |
parent | 7cd8558baa4e4588a80ecb31cb30784195763cdd (diff) | |
download | lwn-44c16156512f33c81e382a1e1df9524e26a7026a.tar.gz lwn-44c16156512f33c81e382a1e1df9524e26a7026a.zip |
f2fs: call f2fs_unlock_op after error was handled
This patch relocates f2fs_unlock_op in every directory operations to be called
after any error was processed.
Otherwise, the checkpoint can be entered with valid node ids without its
dentry when -ENOSPC is occurred.
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'fs/f2fs/f2fs.h')
-rw-r--r-- | fs/f2fs/f2fs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index 94cfdc4d0c00..a397f7ac9945 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h @@ -1194,6 +1194,7 @@ void update_inode(struct inode *, struct page *); void update_inode_page(struct inode *); int f2fs_write_inode(struct inode *, struct writeback_control *); void f2fs_evict_inode(struct inode *); +void handle_failed_inode(struct inode *); /* * namei.c |