diff options
author | David Sterba <dsterba@suse.cz> | 2015-06-12 14:36:51 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-06-12 16:44:48 +0200 |
commit | 6a039e5063fc96cc72a0a0b2bdc97403fb080de1 (patch) | |
tree | 162acdd186f1c1bbdba875ebf470f33a67f691e1 /btrfs-corrupt-block.c | |
parent | 2e151027d245a762326dac8e814db9fc59113454 (diff) |
btrfs-progs: properly set up ioctl arguments
At some places we do not clear the whole ioctl structure and could
pass garbage to kernel. Zero the ioctl vol_args and use a helper for
copying the path.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'btrfs-corrupt-block.c')
0 files changed, 0 insertions, 0 deletions