patch-2.2.0-pre6 linux/fs/coda/upcall.c

Next file: linux/fs/dcache.c
Previous file: linux/fs/coda/psdev.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre5/linux/fs/coda/upcall.c linux/fs/coda/upcall.c
@@ -807,7 +807,7 @@
 {
 
 	/* Handle invalidation requests. */
-          if ( !sb ) { 
+          if ( !sb || !sb->s_root || !sb->s_root->d_inode) { 
 	          printk("coda_downcall: opcode %d, no sb!\n", opcode);
 		  return 0; 
 	  }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov