add a bit of debugging for the mount port
authorChristos Zoulas <christos@zoulas.com>
Fri, 23 Nov 2012 17:09:41 +0000 (12:09 -0500)
committerChristos Zoulas <christos@zoulas.com>
Fri, 23 Nov 2012 17:09:41 +0000 (12:09 -0500)
amd/ops_nfs.c

index c82ee9057abf9e4f1978c151d0031d497fab5aa9..a271935ec1e261fbd292093ded10d51aa18d0c6d 100644 (file)
@@ -554,7 +554,9 @@ call_mountd(fh_cache *fp, u_long proc, fwd_fun fun, wchan_t wchan)
     if (error)
       return error;
     fp->fh_sin.sin_port = mountd_port;
-  }
+    dlog("%s: New %d mountd port", __func__, fp->fh_sin.sin_port);
+  } else
+    dlog("%s: Already had %d mountd port", __func__, fp->fh_sin.sin_port);
 
   /* find the right version of the mount protocol */
 #ifdef HAVE_FS_NFS3