summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_super.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2023-08-10 17:48:07 +0300
committerDarrick J. Wong <djwong@kernel.org>2023-08-10 17:48:07 +0300
commita76dba3b248cb0c2b93d66f463d5ca3cf7037d28 (patch)
tree7da52050f3b0926f0eb709697d9fba3a6abcdde2 /fs/xfs/xfs_super.h
parent764018caa99f7629cefc92257a26b83289a674f3 (diff)
downloadlinux-a76dba3b248cb0c2b93d66f463d5ca3cf7037d28.tar.xz
xfs: create scaffolding for creating debugfs entries
Set up debugfs directories for xfs as a whole, and a subdirectory for each mounted filesystem. This will enable the creation of debugfs files in the next patch. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Dave Chinner <dchinner@redhat.com>
Diffstat (limited to 'fs/xfs/xfs_super.h')
-rw-r--r--fs/xfs/xfs_super.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/xfs_super.h b/fs/xfs/xfs_super.h
index 364e2c2648a8..302e6e5d6c7e 100644
--- a/fs/xfs/xfs_super.h
+++ b/fs/xfs/xfs_super.h
@@ -100,4 +100,6 @@ extern struct workqueue_struct *xfs_discard_wq;
#define XFS_M(sb) ((struct xfs_mount *)((sb)->s_fs_info))
+struct dentry *xfs_debugfs_mkdir(const char *name, struct dentry *parent);
+
#endif /* __XFS_SUPER_H__ */