Revert "loopdev: fix a deadlock"

This reverts commit dd8932e0e0e79570124ac76f7e9182629ad5dc79.