]> git.baikalelectronics.ru Git - kernel.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)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 16 Oct 2009 22:18:14 +0000 (23:18 +0100)
commitc2790c27197dac03f4d60d2e0531b089a79a0943
treeab7b134d082581dd11fd9894f37d109d5d7a34b7
parent3c763f25f9c8fa8687722bc695039b8e4cc261ae
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