Re: [PATCH] ext4: add missing xattr hash update

2017-08-14 Thread Theodore Ts'o
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

[PATCH] ext4: add missing xattr hash update

2017-08-06 Thread Tahsin Erdogan
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 (y