Btrfs: fix a memory leak in btrfs_get_sb
authorShen Feng <shen@cn.fujitsu.com>
Mon, 5 Jan 2009 20:43:42 +0000 (15:43 -0500)
committerChris Mason <chris.mason@oracle.com>
Mon, 5 Jan 2009 20:43:42 +0000 (15:43 -0500)
commit1f48366084a7b046bcb7741ed4e607774f96e3da
treee85d1e0dccccc78689a833373933c001c5d05adb
parentc584482b47f47b051cdc1d5236b99ad18f1b1cfb
Btrfs: fix a memory leak in btrfs_get_sb

subvol_name should be freed if error occurs.

Signed-off-by: Shen Feng <shen@cn.fujitsu.com>
fs/btrfs/super.c