diff options
-rw-r--r-- | sys/nfs/nfs_socket.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c index b16e9d183c3..980f88312d6 100644 --- a/sys/nfs/nfs_socket.c +++ b/sys/nfs/nfs_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_socket.c,v 1.47 2007/04/24 18:15:04 thib Exp $ */ +/* $OpenBSD: nfs_socket.c,v 1.48 2007/05/31 23:04:09 thib Exp $ */ /* $NetBSD: nfs_socket.c,v 1.27 1996/04/15 20:20:00 thorpej Exp $ */ /* @@ -1055,7 +1055,8 @@ tryagain: */ if (error == ESTALE) cache_purge(vp); - if (nmp->nm_flag & NFSMNT_NFSV3) { + + if (nmp->nm_flag & NFSMNT_NFSV3 || error == ESTALE) { *mrp = mrep; *mdp = md; *dposp = dpos; |