commit | adfa97cbdfe376b02bb3e1ea3166958fec35ca6f | [log] [tgz] |
---|---|---|
author | Ilya Dryomov <idryomov@gmail.com> | Thu Oct 10 20:39:28 2013 +0300 |
committer | Chris Mason <chris.mason@fusionio.com> | Mon Nov 11 22:00:37 2013 -0500 |
tree | 4f22a72f87288cbd0299ea0da0b51b5f796cb666 | |
parent | f747cab7b75ba298df3ac234de9f1655957786cc [diff] |
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 <idryomov@gmail.com> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>