From 400b5b1afb54d877fd06c32d8d7128328448f0a8 Mon Sep 17 00:00:00 2001 From: rees Date: Thu, 19 Jan 2006 22:48:31 +0000 Subject: Use nfs4_disconnect for connections opened with nfs4_connect. Submitted by: cel@citi.umich.edu MFC after: 1 week --- sys/nfs4client/nfs4_vfsops.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/nfs4client') diff --git a/sys/nfs4client/nfs4_vfsops.c b/sys/nfs4client/nfs4_vfsops.c index 7673e01..e500427 100644 --- a/sys/nfs4client/nfs4_vfsops.c +++ b/sys/nfs4client/nfs4_vfsops.c @@ -652,7 +652,7 @@ mountnfs(struct nfs_args *argp, struct mount *mp, struct sockaddr *nam, if (mrep != NULL) m_freem(mrep); bad: - nfs_disconnect(nmp); + nfs4_disconnect(nmp); uma_zfree(nfsmount_zone, nmp); FREE(nam, M_SONAME); @@ -692,7 +692,7 @@ nfs_unmount(struct mount *mp, int mntflags, struct thread *td) /* * We are now committed to the unmount. */ - nfs_disconnect(nmp); + nfs4_disconnect(nmp); FREE(nmp->nm_nam, M_SONAME); /* XXX there's a race condition here for SMP */ -- cgit v1.1