kernel - Fix devfs deadlock