aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/api/debug.c
diff options
context:
space:
mode:
authorYunlei He <[email protected]>2017-07-18 09:48:12 +0800
committerJaegeuk Kim <[email protected]>2017-07-26 19:34:30 -0700
commit8790568255f3f0b29ec417089c47008a3d493490 (patch)
tree253eee593f2970a466091901af3977813cd1738d /tools/lib/api/debug.c
parent76a9dd85d43b7b3d94e116437dc882e159887a6a (diff)
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 <[email protected]> Reviewed-by: Chao Yu <[email protected]> Signed-off-by: Jaegeuk Kim <[email protected]>
Diffstat (limited to 'tools/lib/api/debug.c')
0 files changed, 0 insertions, 0 deletions