patch-2.2.17 linux/fs/coda/file.c

Next file: linux/fs/coda/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.2.16/fs/coda/file.c linux/fs/coda/file.c
@@ -115,7 +115,6 @@
 
         ENTRY;
 	cii = ITOC(file->f_dentry->d_inode);
-	cii->c_mmcount++;
   
 	res =generic_file_mmap(file, vma);
 	EXIT;
@@ -136,7 +135,6 @@
 	coda_vfs_stat.file_read++;
 
         cnp = ITOC(coda_inode);
-        CHECK_CNODE(cnp);
 	
         cont_inode = cnp->c_ovp;
         if ( cont_inode == NULL ) {
@@ -177,7 +175,6 @@
 	coda_vfs_stat.file_write++;
 
         cnp = ITOC(coda_inode);
-        CHECK_CNODE(cnp);
 
         cont_inode = cnp->c_ovp;
         if ( cont_inode == NULL ) {
@@ -221,7 +218,6 @@
 		return -EINVAL;
 
         cnp = ITOC(coda_inode);
-        CHECK_CNODE(cnp);
 
         cont_inode = cnp->c_ovp;
         if ( cont_inode == NULL ) {

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