diff options
author | Chao Yu <chao2.yu@samsung.com> | 2014-08-02 03:26:04 -0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2014-08-02 10:43:51 -0400 |
commit | 70cfed88efa760fd165fc413cfd1801b5cc8acd2 (patch) | |
tree | a35b153679465dc4985de618ba55999174181e78 /fs/f2fs/f2fs.h | |
parent | 70407fad85f2ec87a0cf56057c3267cd3aa22768 (diff) |
f2fs: avoid skipping recover_inline_xattr after recover_inline_data
When we recover data of inode in roll-forward procedure, and the inode has both
inline data and inline xattr. We may skip recovering inline xattr if we recover
inline data form node page first.
This patch will fix the problem that we lost inline xattr data in above
scenario.
Signed-off-by: Chao Yu <chao2.yu@samsung.com>
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 99425675c2f8..4dab5338a97a 100644 --- a/fs/f2fs/f2fs.h +++ b/fs/f2fs/f2fs.h | |||
@@ -1204,6 +1204,7 @@ void alloc_nid_done(struct f2fs_sb_info *, nid_t); | |||
1204 | void alloc_nid_failed(struct f2fs_sb_info *, nid_t); | 1204 | void alloc_nid_failed(struct f2fs_sb_info *, nid_t); |
1205 | void recover_node_page(struct f2fs_sb_info *, struct page *, | 1205 | void recover_node_page(struct f2fs_sb_info *, struct page *, |
1206 | struct f2fs_summary *, struct node_info *, block_t); | 1206 | struct f2fs_summary *, struct node_info *, block_t); |
1207 | void recover_inline_xattr(struct inode *, struct page *); | ||
1207 | bool recover_xattr_data(struct inode *, struct page *, block_t); | 1208 | bool recover_xattr_data(struct inode *, struct page *, block_t); |
1208 | int recover_inode_page(struct f2fs_sb_info *, struct page *); | 1209 | int recover_inode_page(struct f2fs_sb_info *, struct page *); |
1209 | int restore_node_summary(struct f2fs_sb_info *, unsigned int, | 1210 | int restore_node_summary(struct f2fs_sb_info *, unsigned int, |