summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_filestream.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-02-07 05:56:19 +0300
committerChristian Brauner <brauner@kernel.org>2024-02-12 15:13:59 +0300
commitae8c511757304e0c393661b5ed2ad7073e2a351d (patch)
tree06a6782f360ac08e5febc40130979f0a7356fcab /fs/xfs/xfs_filestream.h
parente2f7dd6e55d2f39734abcebd0cf673700e206197 (diff)
downloadlinux-ae8c511757304e0c393661b5ed2ad7073e2a351d.tar.xz
fs: add FS_IOC_GETFSSYSFSPATH
Add a new ioctl for getting the sysfs name of a filesystem - the path under /sys/fs. This is going to let us standardize exporting data from sysfs across filesystems, e.g. time stats. The returned path will always be of the form "$FSTYP/$SYSFS_IDENTIFIER", where the sysfs identifier may be a UUID (for bcachefs) or a device name (xfs). Cc: Christian Brauner <brauner@kernel.org> Cc: Jan Kara <jack@suse.cz> Cc: Dave Chinner <dchinner@redhat.com> Cc: Darrick J. Wong <djwong@kernel.org> Cc: Theodore Ts'o <tytso@mit.edu> Cc: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev> Link: https://lore.kernel.org/r/20240207025624.1019754-6-kent.overstreet@linux.dev Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_filestream.h')
0 files changed, 0 insertions, 0 deletions