btrfs-progs: send: constify some arugments

Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
David Sterba 2016-11-02 13:17:31 +01:00
parent 29a1a78aaa
commit 88edac358c

View File

@ -251,7 +251,7 @@ out:
}
static int do_send(struct btrfs_send *send, u64 parent_root_id,
int is_first_subvol, int is_last_subvol, char *subvol,
int is_first_subvol, int is_last_subvol, const char *subvol,
u64 flags)
{
int ret;
@ -378,7 +378,7 @@ out:
}
static int is_subvol_ro(struct btrfs_send *s, char *subvol)
static int is_subvol_ro(struct btrfs_send *s, const char *subvol)
{
int ret;
u64 flags;