The parameters taken by loop_clr_fd() are confusing -- the block device isn't necessary since struct loop_device has a block device member (lo_device) that gets set when loop_set_fd() is called. An instance of a struct loop_device is the only thing required to clear the fd.
Perhaps the attached patch fixes the API issue as well as the bug? ** Patch added: "loop.c.patch" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/548546/+attachment/2203726/+files/loop.c.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/548546 Title: Nautilus does not remove usb drive made with USB-Creator after unmounting it To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/548546/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
