aboutsummaryrefslogtreecommitdiffstats
path: root/disk-io.c
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2013-03-04 16:40:00 -0600
committerDavid Sterba <dsterba@suse.cz>2013-03-10 16:03:48 +0100
commitb1d5f20c3a744c2994c32dd616ba2605c4e4f395 (patch)
tree5068a6f12f28e3da36ccf2c737af7fae6e07ca5e /disk-io.c
parent323318fd3500a447987d355f6189230ecc0d4256 (diff)
downloadbtrfs-progs-b1d5f20c3a744c2994c32dd616ba2605c4e4f395.tar.gz
btrfs-progs-b1d5f20c3a744c2994c32dd616ba2605c4e4f395.tar.xz
btrfs-progs-b1d5f20c3a744c2994c32dd616ba2605c4e4f395.zip
btrfs-progs: Free resources when returning error from cmd_subvol_create()
cmd_subvol_create() currently returns without freeing resources in almost every error case. Switch to a goto arrangement so all cleanup can be done in one place. Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Diffstat (limited to 'disk-io.c')
0 files changed, 0 insertions, 0 deletions