btrfs-progs: image: pass sanitize mode and name tree separately to sanitize_name
authorDavid Sterba <dsterba@suse.com>
Thu, 19 Oct 2017 23:11:11 +0000 (01:11 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 14 Nov 2017 14:59:00 +0000 (15:59 +0100)
commit6519b4a5b461eb12d4c3036b1cc625df2f40786b
tree31ce3574d1329a4a78dc7e2dde557b5c9441c2f9
parente05551b0805dc314598548b2e36e82cc4226475e
btrfs-progs: image: pass sanitize mode and name tree separately to sanitize_name

Now sanitize_name and all callees do not depend on metadump_struct.

Signed-off-by: David Sterba <dsterba@suse.com>
image/main.c