diff options
author | dg <dg@FreeBSD.org> | 1995-03-19 12:08:03 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-03-19 12:08:03 +0000 |
commit | fa7269fdef58f909c524035fef986c9edd15a5bc (patch) | |
tree | 59483dab4d7c4f14ceac1281bb0de6eb213b8a9d /sys/nfsserver | |
parent | 469496749363661f3a58be15d4c93033aa203fb5 (diff) | |
download | FreeBSD-src-fa7269fdef58f909c524035fef986c9edd15a5bc.zip FreeBSD-src-fa7269fdef58f909c524035fef986c9edd15a5bc.tar.gz |
Removed unnecessary call to vnode_pager_uncache(). We automatically clear
the VTEXT flag after all mappers have finished with the object.
Diffstat (limited to 'sys/nfsserver')
-rw-r--r-- | sys/nfsserver/nfs_serv.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/nfsserver/nfs_serv.c b/sys/nfsserver/nfs_serv.c index 2bf0a28..f3eba1c 100644 --- a/sys/nfsserver/nfs_serv.c +++ b/sys/nfsserver/nfs_serv.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs_serv.c 8.3 (Berkeley) 1/12/94 - * $Id: nfs_serv.c,v 1.10 1995/02/15 03:38:12 davidg Exp $ + * $Id: nfs_serv.c,v 1.11 1995/03/17 07:45:19 davidg Exp $ */ /* @@ -1978,10 +1978,9 @@ nfsrv_access(vp, flags, cred, rdonly, p) } /* * If there's shared text associated with - * the inode, try to free it up once. If - * we fail, we can't allow writing. + * the inode, we can't allow writing. */ - if ((vp->v_flag & VTEXT) && !vnode_pager_uncache(vp)) + if (vp->v_flag & VTEXT) return (ETXTBSY); } error = VOP_GETATTR(vp, &vattr, cred, p); |