]> Zhao Yanbai Git Server - minix.git/commitdiff
Don't keep looping on bogus device message.
authorBen Gras <ben@minix3.org>
Wed, 24 Aug 2005 16:57:12 +0000 (16:57 +0000)
committerBen Gras <ben@minix3.org>
Wed, 24 Aug 2005 16:57:12 +0000 (16:57 +0000)
servers/fs/device.c

index 905afdd1a45f374bb4f4eb21ba906f9e7264d02e..3c931f572b18a217d5b086cd703126d9c224d11b 100644 (file)
@@ -361,7 +361,7 @@ message *mess_ptr;          /* pointer to message for task */
                "fs: strange device reply from %d, type = %d, proc = %d (2)\n",
                        mess_ptr->m_source,
                        mess_ptr->m_type, mess_ptr->REP_PROC_NR);
-               continue; /* XXX ? */
+               return;
        }
 
        r = receive(task_nr, mess_ptr);