summaryrefslogtreecommitdiffstats
path: root/sys/nfs
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-08-06 11:55:25 +0000
committerdg <dg@FreeBSD.org>1995-08-06 11:55:25 +0000
commita968d47c0d712ffa2cf73a4b92a20b62943cf0db (patch)
tree8b95f3c4beb5099db8863d5ed1ab13abff5e7b82 /sys/nfs
parenta1f95a2e081aa2a3945d65077c7da60875963a31 (diff)
downloadFreeBSD-src-a968d47c0d712ffa2cf73a4b92a20b62943cf0db.zip
FreeBSD-src-a968d47c0d712ffa2cf73a4b92a20b62943cf0db.tar.gz
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
Diffstat (limited to 'sys/nfs')
-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 2b6ebde..54908b3 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;
OpenPOWER on IntegriCloud