aboutsummaryrefslogtreecommitdiff
path: root/sys/nfs/nfs_serv.c
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1995-08-06 11:55:25 +0000
committerDavid Greenman <dg@FreeBSD.org>1995-08-06 11:55:25 +0000
commit75d8591e04342ca84c4ca34aff1b335125a2ef1e (patch)
tree8b95f3c4beb5099db8863d5ed1ab13abff5e7b82 /sys/nfs/nfs_serv.c
parent640f8c189b3c1c988a8d55719b86d740f8d95c3e (diff)
downloadsrc-75d8591e04342ca84c4ca34aff1b335125a2ef1e.tar.gz
src-75d8591e04342ca84c4ca34aff1b335125a2ef1e.zip
Fixed bug where vnode_pager_uncache() wasn't always called when it should
be. The result was that the file's space wouldn't be properly freed when it was deleted. Submitted by: John Dyson
Notes
Notes: svn path=/head/; revision=9966
Diffstat (limited to 'sys/nfs/nfs_serv.c')
-rw-r--r--sys/nfs/nfs_serv.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c
index 2b6ebdede724..54908b3e5cc2 100644
--- a/sys/nfs/nfs_serv.c
+++ b/sys/nfs/nfs_serv.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfs_serv.c 8.3 (Berkeley) 1/12/94
- * $Id: nfs_serv.c,v 1.20 1995/08/02 10:12:47 dfr Exp $
+ * $Id: nfs_serv.c,v 1.21 1995/08/03 12:14:16 dfr Exp $
*/
/*
@@ -1706,8 +1706,7 @@ nfsrv_remove(nfsd, slp, procp, mrq)
error = EBUSY;
goto out;
}
- if (vp->v_flag & VTEXT)
- (void) vnode_pager_uncache(vp);
+ vnode_pager_uncache(vp);
out:
if (!error) {
int deallocobj = 0;