Re: [PATCH 16/32] ext4: fix ext4_xattr_cmp()

2017-06-21 Thread Theodore Ts'o
On Wed, Jun 21, 2017 at 02:21:26PM -0700, Tahsin Erdogan wrote: > When a xattr entry refers to an external inode, the value data is not > available in the inline area so we should not attempt to read it using > value offset. > > Signed-off-by: Tahsin Erdogan Thanks, added to the ext4 patch queue

[PATCH 16/32] ext4: fix ext4_xattr_cmp()

2017-06-21 Thread Tahsin Erdogan
When a xattr entry refers to an external inode, the value data is not available in the inline area so we should not attempt to read it using value offset. Signed-off-by: Tahsin Erdogan --- fs/ext4/xattr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/ext4/xattr.c b/fs/