summaryrefslogtreecommitdiff
path: root/ext2fs/pager.c
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-10-08 18:41:02 +0200
committerJustus Winter <justus@gnupg.org>2016-10-09 21:59:13 +0200
commit93ba74df1d6523ac49d5b227e30e1cfca930f7a9 (patch)
treea9465d4f937731cf42720598fa08aa86c1d038ff /ext2fs/pager.c
parent83cb5faab30be175c757b31ea4acca7f640228ae (diff)
ext2fs: Poison pointers into dereferenced cache pages.
* ext2fs/ext2fs.h (disk_cache_block_deref): Replace with a macro that NULLs the given pointer. (dino_deref): Likewise. * ext2fs/pager.c (disk_cache_block_deref): Rename. * ext2fs/pokel.c (pokel_add): Adapt. (pokel_exec): Likewise.
Diffstat (limited to 'ext2fs/pager.c')
-rw-r--r--ext2fs/pager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext2fs/pager.c b/ext2fs/pager.c
index 456b582c..6a926827 100644
--- a/ext2fs/pager.c
+++ b/ext2fs/pager.c
@@ -1197,7 +1197,7 @@ disk_cache_block_ref_ptr (void *ptr)
}
void
-disk_cache_block_deref (void *ptr)
+_disk_cache_block_deref (void *ptr)
{
int index;