aboutsummaryrefslogtreecommitdiffstats
path: root/ioctl.h
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2015-06-03 16:51:34 +0200
committerDavid Sterba <dsterba@suse.cz>2015-06-03 19:33:44 +0200
commitb648021e0674f97b958d6ea385c85a135afc1fd9 (patch)
tree0224972f8f6cfc9857dfc4a2ee4e1d9aa21b0f50 /ioctl.h
parent5adf7070280aca29b617d10f4ab90803badae03e (diff)
downloadbtrfs-progs-b648021e0674f97b958d6ea385c85a135afc1fd9.tar.gz
btrfs-progs-b648021e0674f97b958d6ea385c85a135afc1fd9.tar.xz
btrfs-progs-b648021e0674f97b958d6ea385c85a135afc1fd9.zip
btrfs-progs: ioctl.h: add send flag mask
Copied from uapi/linux/btrfs.h. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'ioctl.h')
-rw-r--r--ioctl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ioctl.h b/ioctl.h
index 9ef833c..089789e 100644
--- a/ioctl.h
+++ b/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,