From cca78d2a919844b45ce1f3cf05b4b989dfb1567e Mon Sep 17 00:00:00 2001 From: David Zeuthen Date: Tue, 25 Mar 2008 05:06:52 -0400 Subject: [PATCH] fix a misleading comment --- src/devkit-disks-device.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/devkit-disks-device.c b/src/devkit-disks-device.c index 068e108..a046355 100644 --- a/src/devkit-disks-device.c +++ b/src/devkit-disks-device.c @@ -1296,7 +1296,12 @@ devkit_disks_device_removed (DevkitDisksDevice *device) { update_slaves (device); - /* if the device is busy, we possibly need to force remove it */ + /* if the device is busy, we possibly need to force remove it + * + * This is the normally the path where the enclosing device is + * removed. Compare with devkit_disks_device_changed() for the + * other path. + */ force_removal (device, NULL, NULL); } @@ -4580,9 +4585,6 @@ force_removal (DevkitDisksDevice *device, * - If it's a crypto device, check if there's cleartext * companion. If so, tear it down if it was setup by us. * - * This is the normally the path where the enclosing device is - * removed. Compare with devkit_disks_device_changed() for the - * other path. */ if (device->priv->info.device_is_mounted && device->priv->info.device_mount_path != NULL) { gboolean remove_dir_on_unmount; -- 2.7.4