diff options
author | rees <rees@FreeBSD.org> | 2006-01-19 22:48:31 +0000 |
---|---|---|
committer | rees <rees@FreeBSD.org> | 2006-01-19 22:48:31 +0000 |
commit | 400b5b1afb54d877fd06c32d8d7128328448f0a8 (patch) | |
tree | 4b87b26fc516ae981162f085a05f4a35b57b6e64 | |
parent | 9897565d4030ae36d066b56a45b386b31c126449 (diff) | |
download | FreeBSD-src-400b5b1afb54d877fd06c32d8d7128328448f0a8.zip FreeBSD-src-400b5b1afb54d877fd06c32d8d7128328448f0a8.tar.gz |
Use nfs4_disconnect for connections opened with nfs4_connect.
Submitted by: cel@citi.umich.edu
MFC after: 1 week
-rw-r--r-- | sys/nfs4client/nfs4_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |