Hi Chao,
On 2019/2/14 23:34, Gao Xiang wrote:
> In real scenario, there could be several threads accessing xattrs
> of the same xattr-uninitialized inode, and init_inode_xattrs()
> almost at the same time.
>
> That's actually an unexpected behavior, this patch closes the race.
>
> Fixes: b17500a0fdba ("staging: erofs: introduce xattr & acl support")
> Cc: <[email protected]> # 4.19+
> Signed-off-by: Gao Xiang <[email protected]>
I'd like to submit this patch to linux-5.1 and our products,
could you take some time review this commit? (fix race between init_inode_xattrs
of the same inode, could cause memleak or unexpected behaviors...)
Thanks,
Gao Xiang