src/sys/fs/ext2fs/ext2_vfsops.c
/*
 * Return the root of a filesystem.
 */
Return the root of a filesystem.
Return the root of a filesystem .
static int
ext2_root(struct mount *mp, int flags, struct vnode **vpp)
{
	struct vnode *nvp;
	int error;
	error = VFS_VGET(mp, EXT2_ROOTINO, LK_EXCLUSIVE, &nvp);
	if (error)
		return (error);
	*vpp = nvp;
	return (0);
}
static int ext2_root ( struct mount * mp , int flags , struct vnode * * vpp ) { struct vnode * nvp ; int error ; error = VFS_VGET ( mp , EXT2_ROOTINO , LK_EXCLUSIVE , & nvp ) ; if ( error ) return ( error ) ; * vpp = nvp ; return ( 0 ) ; }
Return the root of a filesystem.
Return the root of a filesystem .