Yunlei He 8790568255 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>
2017-07-26 19:34:30 -07:00
..
2016-09-14 16:52:36 -07:00
2017-07-17 19:23:18 -07:00
2017-07-10 14:29:45 -07:00
2017-07-08 23:12:27 -07:00
2017-07-08 23:12:27 -07:00
2017-07-10 14:29:45 -07:00
2017-07-10 14:29:45 -07:00
2017-07-10 14:29:45 -07:00
2017-07-17 19:23:12 -07:00
2017-07-26 19:34:30 -07:00