]> Zhao Yanbai Git Server - minix.git/commitdiff
vm: bugfix: cover vfs_request-in-callback case 21/621/1
authorBen Gras <ben@minix3.org>
Wed, 5 Jun 2013 15:02:56 +0000 (15:02 +0000)
committerBen Gras <ben@minix3.org>
Wed, 5 Jun 2013 15:02:56 +0000 (15:02 +0000)
Change-Id: I16fccd9938fe8edab83c6c2e327d27d65ff20224

servers/vm/vfs.c

index 274c2afb661fe7ce146dff065a4d185e0068da5c..6551d41a1e2373ec9e3753ad7a6634a316ed5fce 100644 (file)
@@ -135,8 +135,8 @@ int do_vfs_reply(message *m)
 
        SLABFREE(orignode);
 
-       /* Send the next request message if any. */
-       if(first_queued)
+       /* Send the next request message if any and not re-activated. */
+       if(first_queued && !active)
                activate();
 
        return SUSPEND; /* don't reply to the reply */