diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-07-18 17:54:43 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-10-14 14:16:56 -0700 |
commit | 9678c9e283f964c7b8dddd1c3933b7f01dc8701e (patch) | |
tree | 9311583e31d0cedb1b0b9869532d97a741261c08 /fs/xfs/libxfs/xfs_symlink_remote.h | |
parent | 13e77f6373b2f8748358b3836000e7acb35c6bcf (diff) |
xfs: ensure dentry consistency when the orphanage adopts a filerepair-orphanage_2022-10-14
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>
Diffstat (limited to 'fs/xfs/libxfs/xfs_symlink_remote.h')
0 files changed, 0 insertions, 0 deletions