commit 1fc695f490f4f5a174610a42b0ab299eb9bd58e7
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Mar 7 22:48:24 2026 +0100

    ext2fs: Fix syncing disk node
    
    The disk_cache_block_deref macro clears its parameter, and thus
    sync_global_ptr was passing a negative offset to pager_sync_some.

diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index 46d41e08e..8054f16f2 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -519,7 +519,7 @@ sync_global_ptr (void *ptr, int wait)
   void *block_ptr = bptr (block);
   ext2_debug ("(%p -> %u)", ptr, block);
   global_block_modified (block);
-  disk_cache_block_deref (block_ptr);
+  _disk_cache_block_deref (block_ptr);
   pager_sync_some (diskfs_disk_pager,
 		   block_ptr - disk_cache, block_size, wait);
 
