Public bug reported: As found by laney in a cloud-initramfs merge proposal, FLOCK_DEVICE_FD != FLOCK_DISK_ID.
FLOCK_DEVICE_FD would never be set, so we would always return from unlock_disk_and_settle and never either: * close the device * settle. ** Affects: cloud-utils (Ubuntu) Importance: High Assignee: Paride Legovini (paride) Status: Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1898533 Title: Bad variable use: FLOCK_DEVICE_FD != FLOCK_DISK_ID To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-utils/+bug/1898533/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs