Use the active contents lock and safe list iteration within the linux usbfs code