diff options
author | Yunlei He <heyunlei@huawei.com> | 2017-07-18 04:48:12 +0300 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-07-27 05:34:30 +0300 |
commit | 8790568255f3f0b29ec417089c47008a3d493490 (patch) | |
tree | 253eee593f2970a466091901af3977813cd1738d /crypto/akcipher.c | |
parent | 76a9dd85d43b7b3d94e116437dc882e159887a6a (diff) | |
download | linux-8790568255f3f0b29ec417089c47008a3d493490.tar.xz |
f2fs: alloc new nids for xattr block in recovery
recovery file A: recovery file B:
-get_dnode_of_data
-alloc_nid
-recover_xattr_data
-set_node_addr(sbi, &ni, NEW_ADDR, false);
--->bug_on for nid has been used by file A
In recovery process, new allocated node blocks may "reuse" xattr block
nids, this patch alloc new nids for xattr blocks in recovery process to
avoid this problem.
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'crypto/akcipher.c')
0 files changed, 0 insertions, 0 deletions