git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a90e8b6
)
Btrfs: fix subvol_name leak on error in btrfs_mount()
author
Ilya Dryomov
<idryomov@gmail.com>
Tue, 8 Nov 2011 17:15:05 +0000
(19:15 +0200)
committer
Ilya Dryomov
<idryomov@gmail.com>
Wed, 9 Nov 2011 20:53:38 +0000
(22:53 +0200)
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>
fs/btrfs/super.c
patch
|
blob
|
history
diff --cc
fs/btrfs/super.c
Simple merge