diff options
Diffstat (limited to 'fs/xfs/xfs_vfsops.c')
-rw-r--r-- | fs/xfs/xfs_vfsops.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/fs/xfs/xfs_vfsops.c b/fs/xfs/xfs_vfsops.c index 43b78d9dc119..be4e0daaf6bd 100644 --- a/fs/xfs/xfs_vfsops.c +++ b/fs/xfs/xfs_vfsops.c | |||
@@ -808,26 +808,6 @@ fscorrupt_out2: | |||
808 | } | 808 | } |
809 | 809 | ||
810 | /* | 810 | /* |
811 | * xfs_root extracts the root vnode from a vfs. | ||
812 | * | ||
813 | * vfsp -- the vfs struct for the desired file system | ||
814 | * vpp -- address of the caller's vnode pointer which should be | ||
815 | * set to the desired fs root vnode | ||
816 | */ | ||
817 | int | ||
818 | xfs_root( | ||
819 | xfs_mount_t *mp, | ||
820 | bhv_vnode_t **vpp) | ||
821 | { | ||
822 | bhv_vnode_t *vp; | ||
823 | |||
824 | vp = XFS_ITOV(mp->m_rootip); | ||
825 | VN_HOLD(vp); | ||
826 | *vpp = vp; | ||
827 | return 0; | ||
828 | } | ||
829 | |||
830 | /* | ||
831 | * xfs_sync flushes any pending I/O to file system vfsp. | 811 | * xfs_sync flushes any pending I/O to file system vfsp. |
832 | * | 812 | * |
833 | * This routine is called by vfs_sync() to make sure that things make it | 813 | * This routine is called by vfs_sync() to make sure that things make it |