diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-11-12 23:33:35 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2015-11-29 23:59:48 +0100 |
commit | fe9ece07747eb7281e0749a3dde7c02267af8ae6 (patch) | |
tree | 5b6725d0aeefde998b7e6d7c22ba09b5ab94b523 /ext2fs/ext2fs.h | |
parent | 1b6d78a1a79afe79a71841d914a4e49d6eb9100c (diff) |
ext2fs: disable block cache debugging by default
* ext2fs/ext2fs.h: Disable block cache debugging by default.
* ext2fs/pager.c: Likewise.
Diffstat (limited to 'ext2fs/ext2fs.h')
-rw-r--r-- | ext2fs/ext2fs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h index 42717c52..0b6b79ef 100644 --- a/ext2fs/ext2fs.h +++ b/ext2fs/ext2fs.h @@ -244,7 +244,7 @@ extern int disk_cache_blocks; #define DC_NO_BLOCK ((block_t) -1L) -#ifndef NDEBUG +#ifdef DEBUG_DISK_CACHE #define DISK_CACHE_LAST_READ_XOR 0xDEADBEEF #endif @@ -254,7 +254,7 @@ struct disk_cache_info block_t block; uint16_t flags; uint16_t ref_count; -#ifndef NDEBUG +#ifdef DEBUG_DISK_CACHE block_t last_read, last_read_xor; #endif }; |