summaryrefslogtreecommitdiff
path: root/fs/debugfs
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2024-11-04 07:18:57 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-11-06 00:38:33 +0300
commit679b098b59cf6d0fc10f2f66c68af4202686cbf9 (patch)
tree8558fd9c26a26f7b1ed6ab600073ee3491c7577c /fs/debugfs
parentbe42fc1393d66024eb6415c92f45fab5d1878c3e (diff)
downloadlinux-679b098b59cf6d0fc10f2f66c68af4202686cbf9.tar.xz
xfs: refactor directory tree root predicates
Metadata directory trees make reasoning about the parent of a file more difficult. Traditionally, user files are children of sb_rootino, and metadata files are "children" of the superblock. Now, we add a third possibility -- some metadata files can be children of sb_metadirino, but the classic ones (rt free space data and quotas) are left alone. Let's add some helper functions (instead of open-coding the logic everywhere) to make scrub logic easier to understand. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/debugfs')
0 files changed, 0 insertions, 0 deletions