]> git.ipfire.org Git - thirdparty/linux.git/commit
statx: stx_subvol
authorKent Overstreet <kent.overstreet@linux.dev>
Fri, 8 Mar 2024 02:29:12 +0000 (21:29 -0500)
committerChristian Brauner <brauner@kernel.org>
Tue, 26 Mar 2024 08:01:18 +0000 (09:01 +0100)
commit2a82bb02941fb53d1f8df2a360e7798ae3d9d962
treebbc159905c9a051e549d225ecfff31c9b7fe6ec7
parent4cece764965020c22cff7665b18a012006359095
statx: stx_subvol

Add a new statx field for (sub)volume identifiers, as implemented by
btrfs and bcachefs.

This includes bcachefs support; we'll definitely want btrfs support as
well.

Link: https://lore.kernel.org/linux-fsdevel/2uvhm6gweyl7iyyp2xpfryvcu2g3padagaeqcbiavjyiis6prl@yjm725bizncq/
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Cc: Josef Bacik <josef@toxicpanda.com>
Cc: Miklos Szeredi <mszeredi@redhat.com>
Cc: Christian Brauner <brauner@kernel.org>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Link: https://lore.kernel.org/r/20240308022914.196982-1-kent.overstreet@linux.dev
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/bcachefs/fs.c
fs/btrfs/inode.c
fs/stat.c
include/linux/stat.h
include/uapi/linux/stat.h