[lkml]   [2017]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ext4: add missing xattr hash update
On Sun, Aug 06, 2017 at 01:03:19PM -0700, Tahsin Erdogan wrote:
> When updating an extended attribute, if the padded value sizes are the
> same, a shortcut is taken to avoid the bulk of the work. This was fine
> until the xattr hash update was moved inside ext4_xattr_set_entry().
> With that change, the hash update got missed in the shortcut case.
> Thanks to ZhangYi ( for root causing the problem.
> Fixes: daf8328172df ("ext4: eliminate xattr entry e_hash recalculation for removes")
> Reported-by: Miklos Szeredi <>
> Signed-off-by: Tahsin Erdogan <>

Thanks, applied.

- Ted

 \ /
  Last update: 2017-08-14 14:32    [W:0.063 / U:1.084 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site