btrfs-progs: Add support for BTRFS_SEND_FLAG_NO_FILE_DATA
authorMark Fasheh <mfasheh@suse.de>
Wed, 30 Jan 2013 22:50:23 +0000 (14:50 -0800)
committerDavid Sterba <dsterba@suse.cz>
Tue, 12 Feb 2013 22:46:15 +0000 (23:46 +0100)
commitfac5b559a784cd50ae355bddae1ca2a850e4d39a
tree45a1c8be47074d619fa86090aa57cdb6e52cfc12
parente43cc461550130494194201037590a2b1f0f6880
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>
ioctl.h
send-stream.c
send-stream.h
send.h