Btrfs: fix memory leak in btrfs_parse_early_options()
authorIlya Dryomov <idryomov@gmail.com>
Tue, 8 Nov 2011 14:47:55 +0000 (16:47 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 9 Nov 2011 20:53:38 +0000 (22:53 +0200)
commita90e8b6fb80db43b029e1e76205452afa8bdc77a
tree98a546a79e439f984f43c15f1cd6fecc8a082412
parent7fd2ae21a42d178982679b86086661292b4afe4a
Btrfs: fix memory leak in btrfs_parse_early_options()

Don't leak subvol_name string in case multiple subvol= options are
given.  "The lastest option is effective" behavior (consistent with
subvolid= and subvolrootid= options) is preserved.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/btrfs/super.c