diff options
author | 2024-04-22 09:48:30 -0700 | |
---|---|---|
committer | 2024-04-23 16:55:19 -0700 | |
commit | 5e1c7d0b29f7e05b01e448d2579a469cf3a0d350 (patch) | |
tree | 4f80b8ee1c0b79370aad8cf89646054cc10c741c /fs/xfs/scrub/trace.h | |
parent | xfs: exchange-range for repairs is no longer dynamic (diff) | |
download | wireguard-linux-5e1c7d0b29f7e05b01e448d2579a469cf3a0d350.tar.xz wireguard-linux-5e1c7d0b29f7e05b01e448d2579a469cf3a0d350.zip |
xfs: invalidate dentries for a file before moving it to the orphanage
Invalidate the cached dentries that point to the file that we're moving
to lost+found before we actually move it.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to '')
-rw-r--r-- | fs/xfs/scrub/trace.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/scrub/trace.h b/fs/xfs/scrub/trace.h index 4b945007ca6c..e27daa51cab6 100644 --- a/fs/xfs/scrub/trace.h +++ b/fs/xfs/scrub/trace.h @@ -3265,8 +3265,6 @@ DEFINE_EVENT(xrep_dentry_class, name, \ TP_PROTO(struct xfs_mount *mp, const struct dentry *dentry), \ TP_ARGS(mp, dentry)) DEFINE_REPAIR_DENTRY_EVENT(xrep_adoption_check_child); -DEFINE_REPAIR_DENTRY_EVENT(xrep_adoption_check_alias); -DEFINE_REPAIR_DENTRY_EVENT(xrep_adoption_check_dentry); DEFINE_REPAIR_DENTRY_EVENT(xrep_adoption_invalidate_child); DEFINE_REPAIR_DENTRY_EVENT(xrep_dirtree_delete_child); |