mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-23 14:45:19 +00:00
btrfs-progs: ioctl.h: add send flag mask
Copied from uapi/linux/btrfs.h. Signed-off-by: David Sterba <dsterba@suse.cz>
This commit is contained in:
parent
5adf707028
commit
b648021e06
6
ioctl.h
6
ioctl.h
@ -513,6 +513,11 @@ struct btrfs_ioctl_received_subvol_args {
|
||||
*/
|
||||
#define BTRFS_SEND_FLAG_OMIT_END_CMD 0x4
|
||||
|
||||
#define BTRFS_SEND_FLAG_MASK \
|
||||
(BTRFS_SEND_FLAG_NO_FILE_DATA | \
|
||||
BTRFS_SEND_FLAG_OMIT_STREAM_HEADER | \
|
||||
BTRFS_SEND_FLAG_OMIT_END_CMD)
|
||||
|
||||
struct btrfs_ioctl_send_args {
|
||||
__s64 send_fd; /* in */
|
||||
__u64 clone_sources_count; /* in */
|
||||
@ -522,7 +527,6 @@ struct btrfs_ioctl_send_args {
|
||||
__u64 reserved[4]; /* in */
|
||||
};
|
||||
|
||||
|
||||
/* Error codes as returned by the kernel */
|
||||
enum btrfs_err_code {
|
||||
notused,
|
||||
|
Loading…
Reference in New Issue
Block a user