patch-2.4.6 linux/fs/freevxfs/vxfs_inode.c

Next file: linux/fs/freevxfs/vxfs_inode.h
Previous file: linux/fs/freevxfs/vxfs_fshead.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.5/linux/fs/freevxfs/vxfs_inode.c linux/fs/freevxfs/vxfs_inode.c
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 
-#ident "$Id: vxfs_inode.c,v 1.34 2001/05/21 15:33:08 hch Exp hch $"
+#ident "$Id: vxfs_inode.c,v 1.36 2001/05/26 22:28:02 hch Exp hch $"
 
 /*
  * Veritas filesystem driver - inode routines.
@@ -91,7 +91,7 @@
  *  Returns the matching VxFS inode on success, else a NULL pointer.
  *
  * NOTE:
- *  While __vxfs_iget uses that pagecache this function uses the
+ *  While __vxfs_iget uses the pagecache vxfs_blkiget uses the
  *  buffercache.  This function should not be used outside the
  *  read_super() method, othwerwise the data may be incoherent.
  */
@@ -138,7 +138,7 @@
  *  Returns the matching VxFS inode on success, else a NULL pointer.
  */
 static struct vxfs_inode_info *
-__vxfs_iget(struct super_block *sbp, ino_t ino, struct inode *ilistp)
+__vxfs_iget(ino_t ino, struct inode *ilistp)
 {
 	struct page			*pp;
 	u_long				offset;
@@ -184,7 +184,7 @@
 struct vxfs_inode_info *
 vxfs_stiget(struct super_block *sbp, ino_t ino)
 {
-        return __vxfs_iget(sbp, ino, VXFS_SBI(sbp)->vsi_stilist);
+        return __vxfs_iget(ino, VXFS_SBI(sbp)->vsi_stilist);
 }
 
 /**
@@ -288,7 +288,7 @@
 	struct address_space_operations	*aops;
 	ino_t				ino = ip->i_ino;
 
-	if (!(vip = __vxfs_iget(sbp, ino, VXFS_SBI(sbp)->vsi_ilist)))
+	if (!(vip = __vxfs_iget(ino, VXFS_SBI(sbp)->vsi_ilist)))
 		return;
 
 	vxfs_iinit(ip, vip);

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