1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

LINT defines things which compile in code that as referring to the old

a_desc element.  change this to the new a_gen.a_desc to reflect
changes to vnode_if.h generation.

Noticed by: tinderbox, phk
This commit is contained in:
Warner Losh 2004-12-13 17:53:20 +00:00
parent 71c1c49abb
commit 7a7e867742
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138814

View File

@ -266,7 +266,7 @@ ufs_extattr_lookup(struct vnode *start_dvp, int lockparent, char *dirname,
return (error);
}
cnp.cn_namelen--; /* trim nul termination */
vargs.a_desc = NULL;
vargs.a_gen.a_desc = NULL;
vargs.a_dvp = start_dvp;
vargs.a_vpp = &target_vp;
vargs.a_cnp = &cnp;
@ -391,7 +391,7 @@ ufs_extattr_iterate_directory(struct ufsmount *ump, struct vnode *dvp,
auio.uio_td = td;
auio.uio_offset = 0;
vargs.a_desc = NULL;
vargs.a_gen.a_desc = NULL;
vargs.a_vp = dvp;
vargs.a_uio = &auio;
vargs.a_cred = td->td_ucred;