patch-libxfs_cache_c 477 B

1234567891011
  1. --- xfsprogs-3.0.0.orig/libxfs/cache.c 2009-02-04 23:29:25.000000000 +0100
  2. +++ xfsprogs-3.0.0/libxfs/cache.c 2009-12-12 00:52:32.000000000 +0100
  3. @@ -582,7 +582,7 @@ cache_report(
  4. cache->c_mrus[i].cm_count * 100 / cache->c_count);
  5. /* report hash bucket lengths */
  6. - bzero(hash_bucket_lengths, sizeof(hash_bucket_lengths));
  7. + memset(hash_bucket_lengths, 0, sizeof(hash_bucket_lengths));
  8. for (i = 0; i < cache->c_hashsize; i++) {
  9. count = cache->c_hash[i].ch_count;