patch-2.3.99-pre9 linux/fs/coda/psdev.c

Next file: linux/fs/cramfs/inode.c
Previous file: linux/fs/coda/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.99-pre8/linux/fs/coda/psdev.c linux/fs/coda/psdev.c
@@ -296,6 +296,8 @@
 	       vcp->vc_inuse, vcp->vc_pid, current->pid);
 
 	if ( vcp->vc_pid != current->pid ) {
+		/* FIXME: this is broken. If venus does fork(), accounting goes wrong */
+		printk( "Closed by someone else than caller?\n" );
 		return 0;
 	}
         

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)