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/kern/vfs_vnops.c | |
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/kern/vfs_vnops.c')
-rw-r--r-- | sys/kern/vfs_vnops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c index 990c4fb..45889f2 100644 --- a/sys/kern/vfs_vnops.c +++ b/sys/kern/vfs_vnops.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_vnops.c 8.2 (Berkeley) 1/21/94 - * $Id: vfs_vnops.c,v 1.7 1995/01/09 16:04:55 davidg Exp $ + * $Id: vfs_vnops.c,v 1.8 1995/02/14 06:31:13 phk Exp $ */ #include <sys/param.h> @@ -217,7 +217,7 @@ vn_writechk(vp) * the vnode, try to free it up once. If * we fail, we can't allow writing. */ - if ((vp->v_flag & VTEXT) && !vnode_pager_uncache(vp)) + if (vp->v_flag & VTEXT) return (ETXTBSY); return (0); } |