Btrfs-progs: sanitize xattrs when we specify sanitization
authorJosef Bacik <jbacik@fusionio.com>
Wed, 31 Jul 2013 14:23:58 +0000 (10:23 -0400)
committerDavid Sterba <dsterba@suse.cz>
Tue, 3 Sep 2013 17:40:45 +0000 (19:40 +0200)
commit9db49418b367ede03954d5a42c92e8dfcc10f7ad
treea6eb3806498d413259aefb9ddbf0f709a3b198af
parent02e778b2783f9a9ae89d0e4c8c25213fc5f750d1
Btrfs-progs: sanitize xattrs when we specify sanitization

Alexandre pointed out that his xattrs have sensitive information in them as
well, so fix btrfs-image to zero out the data part of xattrs that we find.
Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Reviewed-by: Filipe Manana <fdmanana@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
btrfs-image.c