]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dm snapshot: permit invalid activation
authorMilan Broz <mbroz@redhat.com>
Thu, 12 Jul 2007 16:28:13 +0000 (17:28 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 12 Jul 2007 22:01:08 +0000 (15:01 -0700)
commit0764147b111b8ca886e4f2e9c9e019106b09b657
tree815c9d80c961d54c79692ebe4751318c9052ad45
parentfcac03abd325e4f7a4cc8fe05fea2793b1c8eb75
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.

Cc: stable@kernel.org
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/md/dm-exception-store.c
drivers/md/dm-snap.c