]> git.neil.brown.name Git - history.git/commitdiff
XFS: Remove unused function xfs_vn_iget()
authorEric Sandeen <sandeen@sgi.com>
Thu, 26 Sep 2002 23:26:28 +0000 (01:26 +0200)
committerChristoph Hellwig <hch@sgi.com>
Thu, 26 Sep 2002 23:26:28 +0000 (01:26 +0200)
Modid: 2.5.x-xfs:slinx:128363a

fs/xfs/xfs_iget.c
fs/xfs/xfs_inode.h

index 0c33be976d2520b1b9e131e49bfea3280ff19609..7a8b02b395576e65b21db3a3d29b6236f5c86347 100644 (file)
@@ -507,26 +507,6 @@ inode_allocate:
 }
 
 
-/*
- * A 'special' interface to xfs_iget, where the
- * vnode is already allocated.
- */
-int
-xfs_vn_iget(
-       vfs_t           *vfsp,
-       struct vnode    *vp,
-       xfs_ino_t       ino)
-{
-       xfs_inode_t     *ip;
-       xfs_mount_t     *mp = XFS_BHVTOM(vfsp->vfs_fbhv);
-       int error;
-
-       error = xfs_iget_core(vp, mp, NULL, ino, 0, &ip, 0);
-
-       return error;
-}
-
-
 /*
  * Do the setup for the various locks within the incore inode.
  */
index a5320cf2cea0441a74524a2740b6900aecf7e215..308bc90d825f5f8b2ebb0503e4648b5a681e7187 100644 (file)
@@ -490,7 +490,6 @@ xfs_inode_t *xfs_inode_incore(struct xfs_mount *, xfs_ino_t,
 void           xfs_inode_lock_init(xfs_inode_t *, struct vnode *);
 int            xfs_iget(struct xfs_mount *, struct xfs_trans *, xfs_ino_t,
                         uint, xfs_inode_t **, xfs_daddr_t);
-int            xfs_vn_iget(vfs_t *, struct vnode *, xfs_ino_t);
 void           xfs_iput(xfs_inode_t *, uint);
 void           xfs_iput_new(xfs_inode_t *, uint);
 void           xfs_ilock(xfs_inode_t *, uint);