aboutsummaryrefslogtreecommitdiff
path: root/include/linux/kobj_map.h
diff options
context:
space:
mode:
authorYunlei He <heyunlei@huawei.com>2017-07-18 09:48:12 +0800
committerMister Oyster <oysterized@gmail.com>2017-10-02 14:45:50 +0200
commit2e189ce4099f519945b1cc7f27b404b14753cb31 (patch)
treeadcbc42114c45d70e4a52b8a9b9669bb85d99169 /include/linux/kobj_map.h
parent9d033fa3c414cb2f49b82390364b4eea0010a0ae (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 <heyunlei@huawei.com> Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'include/linux/kobj_map.h')
0 files changed, 0 insertions, 0 deletions