btrfs-progs: image: pass sanitize mode and name tree separately to sanitize_dir_item
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)
commite05551b0805dc314598548b2e36e82cc4226475e
treebe6b173ea738aff03cc18bac450398e2af85eacc
parent5d64cd80fe50ea6aa3d3184805098dd3481d2286
btrfs-progs: image: pass sanitize mode and name tree separately to sanitize_dir_item

We don't need the full mdrestore structure.

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