Ilya Dryomov f23c8af8ca Btrfs: fix subvol_name leak on error in btrfs_mount()
btrfs_parse_early_options() can fail due to error while scanning devices
(-o device= option), but still strdup() subvol_name string:

mount -o subvol=SUBV,device=BAD_DEVICE <dev> <mnt>

So free subvol_name string on error.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2011-11-09 22:53:38 +02:00
..
2011-10-20 18:10:41 +02:00
2011-07-26 16:49:47 -07:00
2011-10-20 18:10:50 +02:00
2011-06-17 14:54:18 -04:00
2011-05-28 07:00:39 -04:00