diff options
| author | Ilya Dryomov <[email protected]> | 2013-10-10 17:39:28 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2013-11-12 03:00:37 +0000 |
| commit | adfa97cbdfe376b02bb3e1ea3166958fec35ca6f (patch) | |
| tree | 4f22a72f87288cbd0299ea0da0b51b5f796cb666 /fs/btrfs/dev-replace.c | |
| parent | Btrfs: nuke a bogus rw_devices decrement in __btrfs_close_devices (diff) | |
| download | kernel-adfa97cbdfe376b02bb3e1ea3166958fec35ca6f.tar.gz kernel-adfa97cbdfe376b02bb3e1ea3166958fec35ca6f.zip | |
Btrfs: don't leak ioctl args in btrfs_ioctl_dev_replace
struct btrfs_ioctl_dev_replace_args memory is leaked if replace is
requested on a read-only filesystem. Fix it.
Signed-off-by: Ilya Dryomov <[email protected]>
Signed-off-by: Josef Bacik <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions
