diff options
author | Darrick J. Wong <djwong@kernel.org> | 2022-07-18 17:54:43 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2022-11-09 19:07:44 -0800 |
commit | 843cee45ace27a3577f58a662a83bd5af0f3d26a (patch) | |
tree | fa76f97626572f915a3c4b1a10734fc23fd679a5 /fs/xfs/scrub/repair.h | |
parent | 4e7f4f244c846df9c79fb36506a301b1dfdc31ba (diff) |
xfs: ensure dentry consistency when the orphanage adopts a filerepair-orphanage_2022-11-09
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/scrub/repair.h')
0 files changed, 0 insertions, 0 deletions