]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dm snapshot: permit invalid activation
authorMilan Broz <mbroz@redhat.com>
Thu, 12 Jul 2007 16:28:13 +0000 (17:28 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Aug 2007 21:27:44 +0000 (14:27 -0700)
commit7afcfb0745af9fc90146c37565cd6998eaefc37f
tree1d567f5edc1e56f931efafa46b986e6f98a21767
parent3bca2f557175e72b20f76d7489695f4c76ca0bf4
dm snapshot: permit invalid activation

Allow invalid snapshots to be activated instead of failing.

This allows userspace to reinstate any given snapshot state - for
example after an unscheduled reboot - and clean up the invalid snapshot
at its leisure.

Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/dm-exception-store.c
drivers/md/dm-snap.c