summaryrefslogtreecommitdiff
path: root/scripts/insert-sys-cert.c
diff options
context:
space:
mode:
authorTahsin Erdogan <tahsin@google.com>2017-08-14 08:30:06 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-08-14 08:30:06 -0400
commit32aaf194201e98db4235b7b71ac62a22e2ac355f (patch)
treeae4a63af40995527827573cc0aa921540727a22b /scripts/insert-sys-cert.c
parentb80b32b6d5e79798b85cd4644206aaa069059390 (diff)
ext4: add missing xattr hash update
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 (yizhang089@gmail.com) for root causing the problem. Fixes: daf8328172df ("ext4: eliminate xattr entry e_hash recalculation for removes") Reported-by: Miklos Szeredi <miklos@szeredi.hu> Signed-off-by: Tahsin Erdogan <tahsin@google.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/insert-sys-cert.c')
0 files changed, 0 insertions, 0 deletions