Re: [PATCH] Btrfs: fix dir item validation when replaying xattr deletes

2017-07-19 Thread David Sterba
On Tue, Jul 18, 2017 at 08:34:02PM +0100, fdman...@kernel.org wrote: > From: Filipe Manana > > We were passing an incorrect slot number to the function that validates > directory items when we are replaying xattr deletes from a log tree. The > correct slot is stored at variable 'i' and not at 'pa

[PATCH] Btrfs: fix dir item validation when replaying xattr deletes

2017-07-19 Thread fdmanana
From: Filipe Manana We were passing an incorrect slot number to the function that validates directory items when we are replaying xattr deletes from a log tree. The correct slot is stored at variable 'i' and not at 'path->slots[0]', so the call to the validation function was only correct for the