dm snapshot: free exception store on init failure
commit034a186d29dbcef099e57ab23ec39440596be911
authorJonathan Brassow <jbrassow@redhat.com>
Fri, 16 Oct 2009 22:18:14 +0000 (16 23:18 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 16 Oct 2009 22:18:14 +0000 (16 23:18 +0100)
treeab7b134d082581dd11fd9894f37d109d5d7a34b7
parent6d45d93ead319423099b82a4efd775bc0f159121
dm snapshot: free exception store on init failure

While initializing the snapshot module, if we fail to register
the snapshot target then we must back-out the exception store
module initialization.

Cc: stable@kernel.org
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Reviewed-by: Mikulas Patocka <mpatocka@redhat.com>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-snap.c