diff options
Diffstat (limited to 'include/uapi/linux/btrfs.h')
| -rw-r--r-- | include/uapi/linux/btrfs.h | 11 | 
1 files changed, 9 insertions, 2 deletions
| diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h index d7d3cfead056..738619994e26 100644 --- a/include/uapi/linux/btrfs.h +++ b/include/uapi/linux/btrfs.h @@ -771,10 +771,16 @@ struct btrfs_ioctl_received_subvol_args {   */  #define BTRFS_SEND_FLAG_OMIT_END_CMD		0x4 +/* + * Read the protocol version in the structure + */ +#define BTRFS_SEND_FLAG_VERSION			0x8 +  #define BTRFS_SEND_FLAG_MASK \  	(BTRFS_SEND_FLAG_NO_FILE_DATA | \  	 BTRFS_SEND_FLAG_OMIT_STREAM_HEADER | \ -	 BTRFS_SEND_FLAG_OMIT_END_CMD) +	 BTRFS_SEND_FLAG_OMIT_END_CMD | \ +	 BTRFS_SEND_FLAG_VERSION)  struct btrfs_ioctl_send_args {  	__s64 send_fd;			/* in */ @@ -782,7 +788,8 @@ struct btrfs_ioctl_send_args {  	__u64 __user *clone_sources;	/* in */  	__u64 parent_root;		/* in */  	__u64 flags;			/* in */ -	__u64 reserved[4];		/* in */ +	__u32 version;			/* in */ +	__u8  reserved[28];		/* in */  };  /* |