]> Zhao Yanbai Git Server - minix.git/commitdiff
VFS: remove debug print
authorThomas Veerman <thomas@minix3.org>
Mon, 2 Apr 2012 15:24:04 +0000 (15:24 +0000)
committerThomas Veerman <thomas@minix3.org>
Fri, 13 Apr 2012 13:20:28 +0000 (13:20 +0000)
servers/vfs/main.c

index 4f6e0661cb4b3a020d71bc1b51e4f4b30896d28c..f71ff1591495c7534077d5b3106a06fb0da03abd 100644 (file)
@@ -1035,10 +1035,6 @@ struct fproc *rfp;
   blocked_on = rfp->fp_blocked_on;
   m_in.m_source = rfp->fp_endpoint;
   m_in.m_type = rfp->fp_block_callnr;
-  if (call_nr == 6) { /* close() */
-       if (m_in.fd != scratch(fp).file.fd_nr)
-               printf("VFS: would've done something weird\n");
-  }
   m_in.fd = scratch(fp).file.fd_nr;
   m_in.buffer = scratch(fp).io.io_buffer;
   m_in.nbytes = scratch(fp).io.io_nbytes;