diff options
author | phk <phk@FreeBSD.org> | 2005-01-14 08:09:42 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2005-01-14 08:09:42 +0000 |
commit | 8000a91d499119f947c1c2a191f7ec2946392ec2 (patch) | |
tree | 8da03161c131588d19c966a471c63a51c9066d33 /sys/fs/nwfs/nwfs_vnops.c | |
parent | cc0cbc6b34a1e285642b1061afc3cf87a868e769 (diff) | |
download | FreeBSD-src-8000a91d499119f947c1c2a191f7ec2946392ec2.zip FreeBSD-src-8000a91d499119f947c1c2a191f7ec2946392ec2.tar.gz |
Eliminate constant and unused arguments to nwfs_vinvalbuf()
Diffstat (limited to 'sys/fs/nwfs/nwfs_vnops.c')
-rw-r--r-- | sys/fs/nwfs/nwfs_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/nwfs/nwfs_vnops.c b/sys/fs/nwfs/nwfs_vnops.c index 95be2a7..6f719f1 100644 --- a/sys/fs/nwfs/nwfs_vnops.c +++ b/sys/fs/nwfs/nwfs_vnops.c @@ -172,7 +172,7 @@ nwfs_open(ap) } if (vp->v_type == VDIR) return 0; /* nothing to do now */ if (np->n_flag & NMODIFIED) { - if ((error = nwfs_vinvalbuf(vp, V_SAVE, ap->a_cred, ap->a_td, 1)) == EINTR) + if ((error = nwfs_vinvalbuf(vp, ap->a_td)) == EINTR) return (error); np->n_atime = 0; error = VOP_GETATTR(vp, &vattr, ap->a_cred, ap->a_td); @@ -182,7 +182,7 @@ nwfs_open(ap) error = VOP_GETATTR(vp, &vattr, ap->a_cred, ap->a_td); if (error) return (error); if (np->n_mtime != vattr.va_mtime.tv_sec) { - if ((error = nwfs_vinvalbuf(vp, V_SAVE, ap->a_cred, ap->a_td, 1)) == EINTR) + if ((error = nwfs_vinvalbuf(vp, ap->a_td)) == EINTR) return (error); np->n_mtime = vattr.va_mtime.tv_sec; } @@ -237,7 +237,7 @@ nwfs_close(ap) return 0; } mtx_unlock(&vp->v_interlock); - error = nwfs_vinvalbuf(vp, V_SAVE, ap->a_cred, ap->a_td, 1); + error = nwfs_vinvalbuf(vp, ap->a_td); mtx_lock(&vp->v_interlock); if (np->opened == 0) { mtx_unlock(&vp->v_interlock); |