From 9c4991d13be455e1408ba00801c4bb9a5ac75118 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Sat, 22 Apr 1995 02:01:33 +0000 Subject: Formerly getblk.c.~11~ --- ext2fs/getblk.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ext2fs/getblk.c b/ext2fs/getblk.c index de3c2eb0..64e8a7e2 100644 --- a/ext2fs/getblk.c +++ b/ext2fs/getblk.c @@ -203,7 +203,9 @@ block_getblk (struct node *node, ((u32 *)bh)[nr] = block; if (diskfs_synchronous || node->dn->info.i_osync) - sync_disk_image (bh, block_size, 1); + sync_global_ptr (bh, 1); + else + pokel_add (&node->dn->pokel, bh, block_size); node->dn_set_ctime = 1; node->dn->info.i_next_alloc_block = new_block; -- cgit v1.2.3