tear down crypto devices when a device is unsafely removed
authorDavid Zeuthen <davidz@redhat.com>
Tue, 25 Mar 2008 09:03:50 +0000 (05:03 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 25 Mar 2008 09:03:50 +0000 (05:03 -0400)
commitdde8018ccddc6123894497125d17a2b5c5114e37
treee4dad49130b7e6779af270ddb4bcc1bea7eaf94c
parent2b6c1899079ab9bac5b73e82c5a10f6c3e3fee22
tear down crypto devices when a device is unsafely removed

Streamline the whole way force removal works. It shouldn't be hard to
add force removal to RAID (e.g. md) and LVM arrays once we get around
to adding support for these.

We still need to check whether the encrypted device was set up by us
before tearing it down. That's for the next patch.
src/devkit-disks-device.c