diff options
author | David Sterba <dsterba@suse.com> | 2016-11-02 13:17:31 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-11-09 13:47:30 +0100 |
commit | 88edac358c1fbaaf28dccc9c0aa139577cdde6db (patch) | |
tree | cde4ff0fbf2ae6fc1985c31ff39ba0d133df1129 /cmds-send.c | |
parent | 29a1a78aaacbd02e59f61b25bd2b25244e948d5d (diff) |
btrfs-progs: send: constify some arugments
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'cmds-send.c')
-rw-r--r-- | cmds-send.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmds-send.c b/cmds-send.c index 2a8a697a..6846b189 100644 --- a/cmds-send.c +++ b/cmds-send.c @@ -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; |