diff options
| author | Gao Xiang <gaoxiang25@huawei.com> | 2019-02-18 10:19:04 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-20 13:20:55 +0300 |
| commit | 62dc45979f3f8cb0ea67302a93bff686f0c46c5a (patch) | |
| tree | 51eacdc5461cdf651eab37a0277e96e08e0bff0a /tools/perf/scripts/python/intel-pt-events.py | |
| parent | 17b7abbf1e3bf143027352a5da38611c9c4e8c96 (diff) | |
| download | linux-62dc45979f3f8cb0ea67302a93bff686f0c46c5a.tar.xz | |
staging: erofs: fix race of initializing xattrs of a inode at the same time
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: <stable@vger.kernel.org> # 4.19+
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
