diff options
| author | Gao Xiang <[email protected]> | 2019-02-18 15:19:04 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2019-02-20 11:20:55 +0100 |
| commit | 62dc45979f3f8cb0ea67302a93bff686f0c46c5a (patch) | |
| tree | 51eacdc5461cdf651eab37a0277e96e08e0bff0a /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
| parent | 17b7abbf1e3bf143027352a5da38611c9c4e8c96 (diff) | |
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: <[email protected]> # 4.19+
Reviewed-by: Chao Yu <[email protected]>
Signed-off-by: Gao Xiang <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions