]> git.karo-electronics.de Git - karo-tx-linux.git/commit
If the cache policy's config values are not able to be set we must
authorHeinz Mauelshagen <heinzm@redhat.com>
Mon, 18 Mar 2013 22:57:28 +0000 (09:57 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Mar 2013 22:57:28 +0000 (09:57 +1100)
commit749a57da9cc56b7332f9fca7312989072d05f1ae
tree928f481942043a9a7ee0546f2388a18db14d1b9c
parent565b3e6b1b40e681aa1204107768bb1dff57dcc0
If the cache policy's config values are not able to be set we must
set the policy to NULL after destroying it in create_cache_policy()
so we don't attempt to destroy it a second time later.

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-cache-target.c