1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-19 15:33:56 +00:00

Be consistent with struct vattr' naming. Half of this manual used vpp'

while the other half used `vap', and in one case resulted in code that
made no sense.  Replaced all of them with `vap'.

(Typically, `vpp' is a pointer to a pointer to a struct vnode anyway).
This commit is contained in:
Chris Costello 2000-03-16 22:40:38 +00:00
parent 311a9da249
commit bd79f8422f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58150

View File

@ -51,7 +51,7 @@ The arguments are:
.Bl -tag -width cred
.It Ar vp
the vnode of the file
.It Ar vpp
.It Ar vap
the attributes of the file
.It Ar cred
the user credentials of the calling process
@ -81,11 +81,11 @@ appropriate error is returned.
.Sh PSEUDOCODE
.Bd -literal
int
vop_getattr(struct vnode *vp, struct vattr *vpp,
vop_getattr(struct vnode *vp, struct vattr *vap,
struct ucred *cred, struct proc *p)
{
/*
* Fill in the contents of *vpp with information from
* Fill in the contents of *vap with information from
* the filesystem.
*/
...;
@ -94,7 +94,7 @@ vop_getattr(struct vnode *vp, struct vattr *vpp,
}
int
vop_setattr(struct vnode *vp, struct vattr *vpp,
vop_setattr(struct vnode *vp, struct vattr *vap,
struct ucred *cred, struct proc *p)
{
/*