Changeset View
Changeset View
Standalone View
Standalone View
sys/ufs/ufs/ufs_vfsops.c
Show First 20 Lines • Show All 68 Lines • ▼ Show 20 Lines | |||||
ufs_root(mp, flags, vpp) | ufs_root(mp, flags, vpp) | ||||
struct mount *mp; | struct mount *mp; | ||||
int flags; | int flags; | ||||
struct vnode **vpp; | struct vnode **vpp; | ||||
{ | { | ||||
struct vnode *nvp; | struct vnode *nvp; | ||||
int error; | int error; | ||||
error = VFS_VGET(mp, (ino_t)ROOTINO, flags, &nvp); | error = VFS_VGET(mp, (ino_t)UFS_ROOTINO, flags, &nvp); | ||||
if (error) | if (error) | ||||
return (error); | return (error); | ||||
*vpp = nvp; | *vpp = nvp; | ||||
return (0); | return (0); | ||||
} | } | ||||
/* | /* | ||||
* Do operations associated with quotas | * Do operations associated with quotas | ||||
▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines |