btrfs-progs: send dump: introduce helper for printing escaped path
authorDavid Sterba <dsterba@suse.com>
Mon, 7 Nov 2016 10:42:02 +0000 (11:42 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 14 Dec 2016 14:06:34 +0000 (15:06 +0100)
commit637563be3ca6e2ed020db7005e1bb761e08979f6
tree1a5bbf9715b06c2603fc5c978da8968d424a8a28
parentfad531e5233343e34f517e46050d860b6225dae0
btrfs-progs: send dump: introduce helper for printing escaped path

The send dump prints one line per stream operation, we'd like to prevent
any line breakage, so the characters are printed escaped in the C style.

Signed-off-by: David Sterba <dsterba@suse.com>
send-dump.c