patch-2.4.19 linux-2.4.19/fs/coda/coda_linux.c

Next file: linux-2.4.19/fs/coda/dir.c
Previous file: linux-2.4.19/fs/coda/cnode.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/fs/coda/coda_linux.c linux-2.4.19/fs/coda/coda_linux.c
@@ -15,7 +15,6 @@
 #include <linux/stat.h>
 #include <linux/errno.h>
 #include <linux/locks.h>
-#include <asm/segment.h>
 #include <asm/uaccess.h>
 #include <linux/string.h>
 
@@ -26,7 +25,6 @@
 
 /* initialize the debugging variables */
 int coda_debug;
-int coda_print_entry; 
 int coda_access_cache = 1;
 int coda_fake_statfs;
 
@@ -34,21 +32,7 @@
 char * coda_f2s(ViceFid *f)
 {
 	static char s[60];
-	if ( f ) {
-		sprintf(s, "(%-#lx,%-#lx,%-#lx)", 
-			 f->Volume, f->Vnode, f->Unique);
-	}
-	return s;
-}
-
-/* print another fid */
-char * coda_f2s2(ViceFid *f)
-{
-	static char s[60];
-	if ( f ) {
-		sprintf(s, "(%-#lx,%-#lx,%-#lx)", 
-			 f->Volume, f->Vnode, f->Unique);
-	}
+	sprintf(s, "(%-#lx.%-#lx.%-#lx)", f->Volume, f->Vnode, f->Unique);
 	return s;
 }
 
@@ -172,8 +156,6 @@
 	        inode->i_mtime = attr->va_mtime.tv_sec;
         if (attr->va_ctime.tv_sec != -1)
 	        inode->i_ctime = attr->va_ctime.tv_sec;
-	if (!inode->i_ctime)
-		inode->i_ctime = inode->i_mtime;
 }
 
 

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