Re: [PATCH] btrfs: verify_dir_item fails in replay_xattr_deletes

2017-08-01 Thread Nikolay Borisov
On 2.08.2017 08:35, Lu Fengqi wrote: > From: Su Yue > > In replay_xattr_deletes(), the argument @slot of verify_dir_item() > should be variable @i instead of path->slots[0]. This was already fix in a patch sent by Filipe. Title is: [PATCH] Btrfs: fix dir item validation when replaying xattr

[PATCH] btrfs: verify_dir_item fails in replay_xattr_deletes

2017-08-01 Thread Lu Fengqi
From: Su Yue In replay_xattr_deletes(), the argument @slot of verify_dir_item() should be variable @i instead of path->slots[0]. The bug causes failure of generic/066 and shared/002 in xfstest. dmesg: [12507.810781] BTRFS critical (device dm-0): invalid dir item name len: 10 [12507.811185] BTRFS