diff options
Diffstat (limited to 'sys/nfs4client')
-rw-r--r-- | sys/nfs4client/nfs4_vnops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nfs4client/nfs4_vnops.c b/sys/nfs4client/nfs4_vnops.c index 276cb1a..bd0cfb1 100644 --- a/sys/nfs4client/nfs4_vnops.c +++ b/sys/nfs4client/nfs4_vnops.c @@ -2693,8 +2693,10 @@ loop: BO_MTX(bo), "nfsfsync", slpflag, slptimeo); if (error == 0) panic("nfs4_fsync: inconsistent lock"); - if (error == ENOLCK) + if (error == ENOLCK) { + error = 0; goto loop; + } if (nfs4_sigintr(nmp, NULL, td)) { error = EINTR; goto done; |