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

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

diff -u --recursive --new-file v2.1.71/linux/fs/coda/file.c linux/fs/coda/file.c
@@ -219,7 +219,7 @@
 {
         struct super_block *sbptr;
 
-        sbptr = coda_find_super(dev);
+        sbptr = get_super(dev);
 
         if ( !sbptr ) {
                 printk("coda_inode_grab: coda_find_super returns NULL.\n");
@@ -238,14 +238,3 @@
         return 0;
 }
 
-struct super_block *coda_find_super(kdev_t device)
-{
-        struct super_block *super;
-
-        for (super = super_blocks + 0; super < super_blocks + NR_SUPER ; 
-	     super++) {
-                if (super->s_dev == device) 
-                        return super;
-        }
-        return NULL;
-}

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