diff options
Diffstat (limited to 'include/uapi/linux/btrfs.h')
| -rw-r--r-- | include/uapi/linux/btrfs.h | 12 | 
1 files changed, 11 insertions, 1 deletions
diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h index b4f0f9531119..ada0a489bf2b 100644 --- a/include/uapi/linux/btrfs.h +++ b/include/uapi/linux/btrfs.h @@ -245,7 +245,17 @@ struct btrfs_ioctl_dev_info_args {  	__u8 uuid[BTRFS_UUID_SIZE];		/* in/out */  	__u64 bytes_used;			/* out */  	__u64 total_bytes;			/* out */ -	__u64 unused[379];			/* pad to 4k */ +	/* +	 * Optional, out. +	 * +	 * Showing the fsid of the device, allowing user space to check if this +	 * device is a seeding one. +	 * +	 * Introduced in v6.3, thus user space still needs to check if kernel +	 * changed this value.  Older kernel will not touch the values here. +	 */ +	__u8 fsid[BTRFS_UUID_SIZE]; +	__u64 unused[377];			/* pad to 4k */  	__u8 path[BTRFS_DEVICE_PATH_NAME_MAX];	/* out */  };  |