]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: clean up error handling in mount_subvol()
authorOmar Sandoval <osandov@osandov.com>
Mon, 18 May 2015 09:16:28 +0000 (02:16 -0700)
committerChris Mason <clm@fb.com>
Wed, 3 Jun 2015 11:02:59 +0000 (04:02 -0700)
commite22b584bedfb07edff97fbb517857b8880ca979c
treeaf48f275b97a747a9fc7b270c80bf0c257cf1e5b
parent41cff803768ecbdbf2538f582c3bb19a05ec5f03
Btrfs: clean up error handling in mount_subvol()

In preparation for new functionality in mount_subvol(), give it
ownership of subvol_name and tidy up the error paths.

Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/super.c