summaryrefslogtreecommitdiffstats
path: root/sys/nwfs/nwfs_vfsops.c
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2001-03-10 05:31:22 +0000
committerbp <bp@FreeBSD.org>2001-03-10 05:31:22 +0000
commita7f5447c8fb21beccf5d594da6abc1a07e38bfc8 (patch)
treeef787013df351eb83995293d8440281cb07e7307 /sys/nwfs/nwfs_vfsops.c
parent7093344718df9120ff473f3ea481cceecd221883 (diff)
downloadFreeBSD-src-a7f5447c8fb21beccf5d594da6abc1a07e38bfc8.zip
FreeBSD-src-a7f5447c8fb21beccf5d594da6abc1a07e38bfc8.tar.gz
Synch with changes in the NCP requester.
Diffstat (limited to 'sys/nwfs/nwfs_vfsops.c')
-rw-r--r--sys/nwfs/nwfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nwfs/nwfs_vfsops.c b/sys/nwfs/nwfs_vfsops.c
index 7d17e7d..3b4dc2a 100644
--- a/sys/nwfs/nwfs_vfsops.c
+++ b/sys/nwfs/nwfs_vfsops.c
@@ -268,7 +268,7 @@ nwfs_unmount(struct mount *mp, int mntflags, struct proc *p)
conn = NWFSTOCONN(nmp);
ncp_conn_puthandle(nmp->connh,NULL,0);
if (ncp_conn_lock(conn,p,p->p_ucred,NCPM_WRITE | NCPM_EXECUTE) == 0) {
- if(ncp_disconnect(conn))
+ if(ncp_conn_free(conn))
ncp_conn_unlock(conn,p);
}
mp->mnt_data = (qaddr_t)0;
OpenPOWER on IntegriCloud