summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-09-01 16:06:40 +0000
committerrwatson <rwatson@FreeBSD.org>2002-09-01 16:06:40 +0000
commit9c25e3c24e9d5d443522478861808d382b8d9a1f (patch)
tree8b9b2df3d51096cbc5914599de3107e41686289b /sys
parentc4d754e0f405c42b721dfe0a51f34a592c6aac91 (diff)
downloadFreeBSD-src-9c25e3c24e9d5d443522478861808d382b8d9a1f.zip
FreeBSD-src-9c25e3c24e9d5d443522478861808d382b8d9a1f.tar.gz
Since we have vp and td cached in local variables, use those instead
of derefencing the VOP arguments again when calling the UFS code. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys')
-rw-r--r--sys/ufs/ufs/ufs_inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ufs/ufs/ufs_inode.c b/sys/ufs/ufs/ufs_inode.c
index 3166fec..d32709e 100644
--- a/sys/ufs/ufs/ufs_inode.c
+++ b/sys/ufs/ufs/ufs_inode.c
@@ -93,7 +93,7 @@ ufs_inactive(ap)
(void)chkiq(ip, -1, NOCRED, FORCE);
#endif
#ifdef UFS_EXTATTR
- ufs_extattr_vnode_inactive(ap->a_vp, ap->a_td);
+ ufs_extattr_vnode_inactive(vp, td);
#endif
error = UFS_TRUNCATE(vp, (off_t)0, IO_EXT | IO_NORMAL,
NOCRED, td);
OpenPOWER on IntegriCloud