Skip to content
Commit 3b10fdc6 authored by Miao Xie's avatar Miao Xie Committed by Theodore Ts'o
Browse files

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: default avatarMiao Xie <miaoxie@huawei.com>
Reviewed-by: default avatarWang Shilong <wshilong@ddn.com>
parent 9699d4f9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment