diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index aa9d9bb..60074cf 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -950,8 +950,8 @@ mountnfs(struct nfs_args *argp, struct mount *mp, struct sockaddr *nam, return (0); bad: - mtx_destroy(&nmp->nm_mtx); nfs_disconnect(nmp); + mtx_destroy(&nmp->nm_mtx); uma_zfree(nfsmount_zone, nmp); FREE(nam, M_SONAME); return (error); |