]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: avoid skipping recover_inline_xattr after recover_inline_data
authorChao Yu <chao2.yu@samsung.com>
Sat, 2 Aug 2014 07:26:04 +0000 (15:26 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Sat, 2 Aug 2014 14:43:51 +0000 (07:43 -0700)
commite41eb500078925e822873c40334336b06fdd1ea0
treea35b153679465dc4985de618ba55999174181e78
parentfdb448b5b7f616b3e4ae3bd23e0375eef842b481
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>
fs/f2fs/f2fs.h
fs/f2fs/node.c
fs/f2fs/recovery.c