patch-2.4.19 linux-2.4.19/fs/coda/upcall.c
Next file: linux-2.4.19/fs/cramfs/README
Previous file: linux-2.4.19/fs/coda/sysctl.c
Back to the patch index
Back to the overall index
-  Lines: 32
-  Date:
Fri Aug  2 17:39:45 2002
-  Orig file: 
linux-2.4.18/fs/coda/upcall.c
-  Orig date: 
Fri Dec 21 09:41:55 2001
diff -urN linux-2.4.18/fs/coda/upcall.c linux-2.4.19/fs/coda/upcall.c
@@ -15,7 +15,6 @@
  */
 
 #include <asm/system.h>
-#include <asm/segment.h>
 #include <asm/signal.h>
 #include <linux/signal.h>
 
@@ -176,10 +175,7 @@
 	insize = SIZE(store);
 	UPARG(CODA_STORE);
 	
-	if ( cred ) {
-		memcpy(&(inp->ih.cred), cred, sizeof(*cred));
-	} else 
-		printk("CODA: store without valid file creds.\n");
+	memcpy(&(inp->ih.cred), cred, sizeof(*cred));
 	
         inp->coda_store.VFid = *fid;
         inp->coda_store.flags = flags;
@@ -218,10 +214,7 @@
 	insize = SIZE(release);
 	UPARG(CODA_CLOSE);
 	
-	if ( cred ) {
-		memcpy(&(inp->ih.cred), cred, sizeof(*cred));
-	} else 
-		printk("CODA: close without valid file creds.\n");
+	memcpy(&(inp->ih.cred), cred, sizeof(*cred));
 	
         inp->coda_close.VFid = *fid;
         inp->coda_close.flags = flags;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)