aboutsummaryrefslogtreecommitdiff
path: root/sys/nfsclient
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-07-16 15:12:07 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-07-16 15:12:07 +0000
commit14d199ad29fd3be99249a8d786d9900441d3dcb1 (patch)
tree187da155cb82249660bf805fb69a9e0b3634b605 /sys/nfsclient
parenta79f8552fb512b6bae7648603708b4fd57e8784c (diff)
Notes
Diffstat (limited to 'sys/nfsclient')
-rw-r--r--sys/nfsclient/nfs_socket.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/nfsclient/nfs_socket.c b/sys/nfsclient/nfs_socket.c
index 496cbe49ea3c..64f677cf3fa9 100644
--- a/sys/nfsclient/nfs_socket.c
+++ b/sys/nfsclient/nfs_socket.c
@@ -643,12 +643,13 @@ errout:
error,
rep->r_nmp->nm_mountp->mnt_stat.f_mntfromname);
error = nfs_sndlock(rep);
- if (!error)
+ if (!error) {
error = nfs_reconnect(rep);
- if (!error)
- goto tryagain;
- else
- nfs_sndunlock(rep);
+ if (!error)
+ goto tryagain;
+ else
+ nfs_sndunlock(rep);
+ }
}
} else {
if ((so = rep->r_nmp->nm_so) == NULL)