summaryrefslogtreecommitdiff
path: root/fs/minix
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-04-16 00:54:50 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-04-16 00:58:55 +0300
commit8d81082a8c9541bdf6164c4639dc1936209fe1c4 (patch)
treec613a309488dad3536850e126ce41e6aa3972ebd /fs/minix
parent669dfe883c8e20231495f80a28ec7cc0b8fdddc4 (diff)
downloadlinux-8d81082a8c9541bdf6164c4639dc1936209fe1c4.tar.xz
xfs: inactivate directory data blocks
Teach inode inactivation to delete all the incore buffers backing a directory. In normal runtime this should never happen because the VFS forbids rmdir on a non-empty directory. In the next patch, online directory repair stands up a new directory, exchanges it with the broken directory, and then drops the private temporary directory. If we cancel the repair just prior to exchanging the directory contents, the new directory will need to be torn down. Note: If we commit the repair, reaping will take care of all the ondisk space allocations and incore buffers for the old corrupt directory. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/minix')
0 files changed, 0 insertions, 0 deletions