}
-/*
- * 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.
*/
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);