Btrfs-progs: let get_label return the label instead of printing it
commit457b1286dd9976efbfec25bb286ddc8cec410aa1
authorFilipe David Borba Manana <fdmanana@gmail.com>
Tue, 12 Nov 2013 13:41:42 +0000 (12 13:41 +0000)
committerChris Mason <clm@fb.com>
Fri, 31 Jan 2014 16:22:02 +0000 (31 08:22 -0800)
tree517affec64c49ccdb548beba5e4db3bb03923bbf
parent67d3c3c0d3505377e6468849b086aefc69ae5411
Btrfs-progs: let get_label return the label instead of printing it

get_label prints the label at the moment. Change this so that
the label is returned and printing is done by the caller.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
cmds-filesystem.c
utils.c
utils.h