diff options
author | Ilya Dryomov <idryomov@gmail.com> | 2011-11-08 19:15:05 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2011-11-09 22:53:38 +0200 |
commit | f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5 (patch) | |
tree | e1acd02447bc510609f14372d4aa4c1349ed6000 /firmware | |
parent | a90e8b6fb80db43b029e1e76205452afa8bdc77a (diff) | |
download | kernel_goldelico_gta04-f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5.zip kernel_goldelico_gta04-f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5.tar.gz kernel_goldelico_gta04-f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5.tar.bz2 |
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>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions