diff options
author | Miles Bader <miles@gnu.org> | 1995-04-22 02:01:33 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1995-04-22 02:01:33 +0000 |
commit | 9c4991d13be455e1408ba00801c4bb9a5ac75118 (patch) | |
tree | 8998661da4e920784efc8be7e6f01d8a9ea25a2d | |
parent | ce443e072e340a9fe6956560ca2287449ce49e8c (diff) |
Formerly getblk.c.~11~
-rw-r--r-- | ext2fs/getblk.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; |