summaryrefslogtreecommitdiffstats
path: root/fs/exofs/common.h
diff options
context:
space:
mode:
authorIlya Dryomov <idryomov@gmail.com>2011-11-08 19:15:05 +0200
committerIlya Dryomov <idryomov@gmail.com>2011-11-09 22:53:38 +0200
commitf23c8af8ca2789eeb0ab9ea90c214f9694d96cc5 (patch)
treee1acd02447bc510609f14372d4aa4c1349ed6000 /fs/exofs/common.h
parenta90e8b6fb80db43b029e1e76205452afa8bdc77a (diff)
downloadlinux-stable-f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5.tar.gz
linux-stable-f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5.tar.bz2
linux-stable-f23c8af8ca2789eeb0ab9ea90c214f9694d96cc5.zip
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 'fs/exofs/common.h')
0 files changed, 0 insertions, 0 deletions