I understand you can't umount the loop device when it's root, but wouldn't it be simpler to get the loop device from /proc/cmdline and skip it specifically in do_stop?
I understand you can't umount the loop device when it's root, but wouldn't it be simpler to get the loop device from /proc/cmdline and skip it specifically in do_stop?