svn commit: r317408 - stable/10/sys/fs/nfsclient
Konstantin Belousov
kib at FreeBSD.org
Tue Apr 25 13:17:35 UTC 2017
Author: kib
Date: Tue Apr 25 13:17:34 2017
New Revision: 317408
URL: https://svnweb.freebsd.org/changeset/base/317408
Log:
MFC r316698:
Remove debugging printf.
Modified:
stable/10/sys/fs/nfsclient/nfs_clvnops.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/fs/nfsclient/nfs_clvnops.c
==============================================================================
--- stable/10/sys/fs/nfsclient/nfs_clvnops.c Tue Apr 25 13:07:06 2017 (r317407)
+++ stable/10/sys/fs/nfsclient/nfs_clvnops.c Tue Apr 25 13:17:34 2017 (r317408)
@@ -2969,14 +2969,17 @@ done:
free(bvec, M_TEMP);
if (error == 0 && commit != 0 && waitfor == MNT_WAIT &&
(bo->bo_dirty.bv_cnt != 0 || bo->bo_numoutput != 0 ||
- np->n_directio_asyncwr != 0) && trycnt++ < 5) {
- /* try, try again... */
- passone = 1;
- wcred = NULL;
- bvec = NULL;
- bvecsize = 0;
-printf("try%d\n", trycnt);
- goto again;
+ np->n_directio_asyncwr != 0)) {
+ if (trycnt++ < 5) {
+ /* try, try again... */
+ passone = 1;
+ wcred = NULL;
+ bvec = NULL;
+ bvecsize = 0;
+ goto again;
+ }
+ vn_printf(vp, "ncl_flush failed");
+ error = called_from_renewthread != 0 ? EIO : EBUSY;
}
return (error);
}
More information about the svn-src-stable-10
mailing list