STABLE14-darwin-vnode-macros-20050325

use vnode to vcache conversion macros


(cherry picked from commit 79703698011d196616561072b6c531ad0a4f8c68)
This commit is contained in:
Derrick Brashear 2005-03-26 02:09:00 +00:00
parent 90902b7972
commit 7f4cdf1760

View File

@ -352,7 +352,8 @@ afs_vop_close(ap)
* } */ *ap;
{
int code;
struct vcache *avc = ap->a_vp;
struct vnode *vp = ap->a_vp;
struct vcache *avc = VTOAFS(vp);
AFS_GLOCK();
if (ap->a_cred)
code = afs_close(avc, ap->a_fflag, ap->a_cred, ap->a_p);