Re: [PATCH] Btrfs: fix listxattrs not listing all xattrs packed in the same item

2016-02-24 Thread Holger Hoffstätte
On Wed, Feb 24, 2016 at 12:29 AM, Satoru Takeuchi wrote: > On 2016/02/23 2:52, fdman...@kernel.org wrote: >> >> From: Filipe Manana >> >> In the listxattrs handler, we were not listing all the xattrs that are >> packed in the same btree item, which happens when multiple xattrs have >> a name that

Re: [PATCH] Btrfs: fix listxattrs not listing all xattrs packed in the same item

2016-02-23 Thread Satoru Takeuchi
On 2016/02/23 2:52, fdman...@kernel.org wrote: From: Filipe Manana In the listxattrs handler, we were not listing all the xattrs that are packed in the same btree item, which happens when multiple xattrs have a name that when crc32c hashed produce the same checksum value. Fix this by processin

[PATCH] Btrfs: fix listxattrs not listing all xattrs packed in the same item

2016-02-22 Thread fdmanana
From: Filipe Manana In the listxattrs handler, we were not listing all the xattrs that are packed in the same btree item, which happens when multiple xattrs have a name that when crc32c hashed produce the same checksum value. Fix this by processing them all. The following test case for xfstests