Linux: cache bypass: remove warning print before panic

This warning printf has some issues - it prints out pointers as
ints with %d (which causes warnings), and if the intention was
to print the referenced values, they wouldn't be set yet at that
point in the function.

Since the purpose is not clear and it has issues, just remove it.

Change-Id: Ied69c390818f9dff235bdaa31af42996aaa39af3
Reviewed-on: http://gerrit.openafs.org/2325
Reviewed-by: Matt Benjamin <matt@linuxbox.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Marc Dionne 2010-07-02 09:28:05 -04:00 committed by Derrick Brashear
parent 95a814a26f
commit 4516e37774

View File

@ -1824,9 +1824,6 @@ afs_GetDCache(register struct vcache *avc, afs_size_t abyte,
break;
/* If we can't get space for 5 mins we give up and panic */
if (++downDCount > 300) {
#if defined(AFS_CACHE_BYPASS)
afs_warn("GetDCache calling osi_Panic: No space in five minutes.\n downDCount: %d\n aoffset: %d alen: %d\n", downDCount, aoffset, alen);
#endif
osi_Panic("getdcache");
}
ReleaseWriteLock(&afs_xdcache);