]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm snapshot: free exception store on init failure
authorJonathan Brassow <jbrassow@redhat.com>
Fri, 16 Oct 2009 22:18:14 +0000 (23:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Nov 2009 00:22:01 +0000 (16:22 -0800)
commit1b0fd1e25a9393003f7034a83f5932ce26242577
tree81f59008ab4fe66d352d57d204d0461ca37ceab6
parentaf57e833c96884bf0aa231039a25c853f7e83864
dm snapshot: free exception store on init failure

commit 034a186d29dbcef099e57ab23ec39440596be911 upstream.

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

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-snap.c