From 83cb5faab30be175c757b31ea4acca7f640228ae Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Sat, 8 Oct 2016 17:56:07 +0200 Subject: ext2fs: Rename parameter. * ext2fs/ext2fs.h (sync_global_pointer): Rename 'bptr' so that it doesn't collide with the macro 'bptr'. --- ext2fs/ext2fs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h index 070d5bd9..c233ce06 100644 --- a/ext2fs/ext2fs.h +++ b/ext2fs/ext2fs.h @@ -481,11 +481,11 @@ record_global_poke (void *ptr) /* This syncs a modification to a non-file block. */ EXT2FS_EI void -sync_global_ptr (void *bptr, int wait) +sync_global_ptr (void *ptr, int wait) { - block_t block = boffs_block (bptr_offs (bptr)); + block_t block = boffs_block (bptr_offs (ptr)); void *block_ptr = bptr (block); - ext2_debug ("(%p -> %u)", bptr, block); + ext2_debug ("(%p -> %u)", ptr, block); global_block_modified (block); disk_cache_block_deref (block_ptr); pager_sync_some (diskfs_disk_pager, -- cgit v1.2.3