]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
dm thin metadata: unlock superblock in init_pmd error path
authorJoe Thornber <ejt@redhat.com>
Wed, 7 Mar 2012 19:09:43 +0000 (19:09 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 7 Mar 2012 19:09:43 +0000 (19:09 +0000)
commit4469a5f387fdde956894137751a41473618a4a52
treef191a4eeabe0af42d8025b15286257f6a4bf9b1a
parent1f3db25d8be4ac50b897b39609802183ea68a514
dm thin metadata: unlock superblock in init_pmd error path

If dm_sm_disk_create() fails the superblock must be unlocked.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-thin-metadata.c