diff options
author | Darrick J. Wong <djwong@kernel.org> | 2024-04-16 00:54:57 +0300 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2024-04-16 00:58:57 +0300 |
commit | 73597e3e42b4a15030e6f93b71b53a04377ea419 (patch) | |
tree | d55182f3c052cbab543fb488fa4bbdc4b7a47a65 /tools/perf/scripts/python/stackcollapse.py | |
parent | e6c9e75fbe792e1fb3bc7e7efce5c6bb015023c5 (diff) | |
download | linux-73597e3e42b4a15030e6f93b71b53a04377ea419.tar.xz |
xfs: ensure dentry consistency when the orphanage adopts a file
When the orphanage adopts a file, that file becomes a child of the
orphanage. The dentry cache may have entries for the orphanage
directory and the name we've chosen, so (1) make sure we abort if the
dcache has a positive entry because something's not right; and (2)
invalidate and purge negative dentries if the adoption goes through.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions