aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKaixu Xia <[email protected]>2020-10-10 16:10:16 +0800
committerTheodore Ts'o <[email protected]>2020-10-18 10:37:26 -0400
commitd3e7d20befd9d07db2955015a3f294c0a0a771d3 (patch)
tree2ffe9d71f346dc1afbc24217c493b8097822c69d /tools/perf/scripts/python/export-to-sqlite.py
parentd1e18b8824dd50cff255e6cecf515ea598eaf9f0 (diff)
ext4: use the normal helper to get the actual inode
Here we use the READ_ONCE to fix race conditions in ->d_compare() and ->d_hash() when they are called in RCU-walk mode, seems we can use the normal helper d_inode_rcu() to get the actual inode. Signed-off-by: Kaixu Xia <[email protected]> Reviewed-by: Lukas Czerner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions