mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
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:
parent
95a814a26f
commit
4516e37774
@ -1824,9 +1824,6 @@ afs_GetDCache(register struct vcache *avc, afs_size_t abyte,
|
|||||||
break;
|
break;
|
||||||
/* If we can't get space for 5 mins we give up and panic */
|
/* If we can't get space for 5 mins we give up and panic */
|
||||||
if (++downDCount > 300) {
|
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");
|
osi_Panic("getdcache");
|
||||||
}
|
}
|
||||||
ReleaseWriteLock(&afs_xdcache);
|
ReleaseWriteLock(&afs_xdcache);
|
||||||
|
Loading…
Reference in New Issue
Block a user