]> 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)
commit9c6c7d615d39d546c606640e851ce97bf7f32fcc
treea35b153679465dc4985de618ba55999174181e78
parent31f7513a84d0bd32f56cbc3976f330f95a60198c
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