]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/xfs/xfs_vfsops.c
[XFS] kill xfs_root
[linux-2.6-omap-h63xx.git] / fs / xfs / xfs_vfsops.c
index 43b78d9dc1193989c5f647aaa2770fe1d39454b1..be4e0daaf6bdb215e69a60d5eb9a8162bebbad9b 100644 (file)
@@ -807,26 +807,6 @@ fscorrupt_out2:
        return XFS_ERROR(EFSCORRUPTED);
 }
 
-/*
- * xfs_root extracts the root vnode from a vfs.
- *
- * vfsp -- the vfs struct for the desired file system
- * vpp  -- address of the caller's vnode pointer which should be
- *         set to the desired fs root vnode
- */
-int
-xfs_root(
-       xfs_mount_t     *mp,
-       bhv_vnode_t     **vpp)
-{
-       bhv_vnode_t     *vp;
-
-       vp = XFS_ITOV(mp->m_rootip);
-       VN_HOLD(vp);
-       *vpp = vp;
-       return 0;
-}
-
 /*
  * xfs_sync flushes any pending I/O to file system vfsp.
  *