aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorIlya Dryomov <[email protected]>2013-10-10 17:39:28 +0000
committerChris Mason <[email protected]>2013-11-12 03:00:37 +0000
commitadfa97cbdfe376b02bb3e1ea3166958fec35ca6f (patch)
tree4f22a72f87288cbd0299ea0da0b51b5f796cb666 /fs/btrfs/dev-replace.c
parentBtrfs: nuke a bogus rw_devices decrement in __btrfs_close_devices (diff)
downloadkernel-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