commit | 3b10fdc6d8bd048f4fb14af5eda2051ace7b8b16 | [log] [tgz] |
---|---|---|
author | Miao Xie <miaoxie@huawei.com> | Sun Aug 06 00:27:38 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Sun Aug 06 00:27:38 2017 -0400 |
tree | cab4fdbe9b87cda858f93fa1b89519d69a9fd4df | |
parent | 9699d4f91d9bd2f70dcc37afe3c9f18145ab2dba [diff] |
ext4: fix forgetten xattr lock protection in ext4_expand_extra_isize We should avoid the contention between the i_extra_isize update and the inline data insertion, so move the xattr trylock in front of i_extra_isize update. Signed-off-by: Miao Xie <miaoxie@huawei.com> Reviewed-by: Wang Shilong <wshilong@ddn.com>