Date: Tue, 27 May 2008 00:20:20 +0000 (UTC) From: Attilio Rao <attilio@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs4client nfs4_vnops.c src/sys/nfsclient nfs_vnops.c Message-ID: <200805270020.m4R0KKrQ010157@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
attilio 2008-05-27 00:20:19 UTC
FreeBSD src repository
Modified files:
sys/nfs4client nfs4_vnops.c
sys/nfsclient nfs_vnops.c
Log:
Once the ENOLCK is detected we expect to retry the acquisition.
Anyway, in the edge case the flushing happens and the while is no more
executed, nfs_flush() (and nfs4_flush()) can return with a wrong
err value of ENOLCK.
Bring it back to 0, as we expect to have for that case.
Reported by: kris
Reviewed by: kib
Revision Changes Path
1.45 +3 -1 src/sys/nfs4client/nfs4_vnops.c
1.285 +3 -1 src/sys/nfsclient/nfs_vnops.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805270020.m4R0KKrQ010157>
