]> 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)
commit9292555fb94541fd08be990e0a8e3e45efb84c37
treeaf48f275b97a747a9fc7b270c80bf0c257cf1e5b
parent40470a5e8f159baa7bf7b0e607ff0711c9f45275
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