From: Jeffrey Altman Date: Tue, 22 Nov 2005 00:14:25 +0000 (+0000) Subject: windows-fetchstatus-logging-20051121 X-Git-Tag: openafs-devel-1_5_0~192 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3e6fdd48937b91fe9ec1322d2f89648fe8f6088d;p=packages%2Fo%2Fopenafs.git windows-fetchstatus-logging-20051121 remove the cell and include the vnode in the FetchStatus log messages --- diff --git a/src/WINNT/afsd/cm_callback.c b/src/WINNT/afsd/cm_callback.c index 984c96914..90bc8848e 100644 --- a/src/WINNT/afsd/cm_callback.c +++ b/src/WINNT/afsd/cm_callback.c @@ -1687,8 +1687,8 @@ long cm_GetCallback(cm_scache_t *scp, struct cm_user *userp, lock_ReleaseMutex(&scp->mx); /* now make the RPC */ - osi_Log4(afsd_logp, "CALL FetchStatus scp 0x%p cell %d vol %d uniq %d", - scp, scp->fid.cell, scp->fid.volume, scp->fid.unique); + osi_Log4(afsd_logp, "CALL FetchStatus scp 0x%p vol %u vn %u uniq %u", + scp, scp->fid.volume, scp->fid.vnode, scp->fid.unique); do { code = cm_Conn(&sfid, userp, reqp, &connp); if (code) @@ -1703,11 +1703,11 @@ long cm_GetCallback(cm_scache_t *scp, struct cm_user *userp, &cbr, code)); code = cm_MapRPCError(code, reqp); if (code) - osi_Log4(afsd_logp, "CALL FetchStatus FAILURE code 0x%x scp 0x%p cell %d vol %d", - code, scp, scp->fid.cell, scp->fid.volume); + osi_Log4(afsd_logp, "CALL FetchStatus FAILURE code 0x%x scp 0x%p vol %u vn %u", + code, scp, scp->fid.volume, scp->fid.vnode); else - osi_Log4(afsd_logp, "CALL FetchStatus SUCCESS scp 0x%p cell %d vol %d uniq %d", - scp, scp->fid.cell, scp->fid.volume, scp->fid.unique); + osi_Log4(afsd_logp, "CALL FetchStatus SUCCESS scp 0x%p vol %u vn %u uniq %u", + scp, scp->fid.volume, scp->fid.vnode, scp->fid.unique); lock_ObtainMutex(&scp->mx); if (code == 0) { @@ -1721,7 +1721,7 @@ long cm_GetCallback(cm_scache_t *scp, struct cm_user *userp, /* now check to see if we got an error */ if (code) { osi_Log2(afsd_logp, "GetCallback Failed code 0x%x scp 0x%p -->",code, scp); - osi_Log4(afsd_logp, " cell %d vol %d vn %d uniq %d", + osi_Log4(afsd_logp, " cell %u vol %u vn %u uniq %u", scp->fid.cell, scp->fid.volume, scp->fid.vnode, scp->fid.unique); return code; }