summaryrefslogtreecommitdiff
path: root/send.h
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.de>2013-01-30 14:50:23 -0800
committerDavid Sterba <dsterba@suse.cz>2013-02-12 23:46:15 +0100
commitfac5b559a784cd50ae355bddae1ca2a850e4d39a (patch)
tree45a1c8be47074d619fa86090aa57cdb6e52cfc12 /send.h
parente43cc461550130494194201037590a2b1f0f6880 (diff)
btrfs-progs: Add support for BTRFS_SEND_FLAG_NO_FILE_DATA
The flag and command are synced from kernel to user. Also, this patch adds a callback for the BTRFS_SEND_C_UPDATE_EXTENT in struct btrfs_send_ops. read_and_process_cmd() is updated to decode BTRFS_SEND_C_UPDATE_EXTENT and send the values through the right callback. I did not add a callback definition to cmds-receive.c as that code never uses BTRFS_SEND_FLAG_NO_FILE_DATA. Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Diffstat (limited to 'send.h')
-rw-r--r--send.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/send.h b/send.h
index 9934e948..48d425ae 100644
--- a/send.h
+++ b/send.h
@@ -86,6 +86,7 @@ enum btrfs_send_cmd {
BTRFS_SEND_C_UTIMES,
BTRFS_SEND_C_END,
+ BTRFS_SEND_C_UPDATE_EXTENT,
__BTRFS_SEND_C_MAX,
};
#define BTRFS_SEND_C_MAX (__BTRFS_SEND_C_MAX - 1)