Commit aadbe266f2f89ccc68b52f4effc7b3a8b29521ef

Authored by Andrei Warkentin
Committed by Alasdair G Kergon
1 parent 437538267b

dm exception store: fix init error path

Call the correct exit function on failure in dm_exception_store_init.

Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com>
Acked-by: Mike Snitzer <snitzer@redhat.com>
Cc: stable@kernel.org
Signed-off-by: Alasdair G Kergon <agk@redhat.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/md/dm-exception-store.c
... ... @@ -283,7 +283,7 @@
283 283 return 0;
284 284  
285 285 persistent_fail:
286   - dm_persistent_snapshot_exit();
  286 + dm_transient_snapshot_exit();
287 287 transient_fail:
288 288 return r;
289 289 }