summaryrefslogtreecommitdiff
path: root/ext2fs/ext2fs.h
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1995-05-09 22:08:12 +0000
committerMiles Bader <miles@gnu.org>1995-05-09 22:08:12 +0000
commitee914fec9045150b0f981d0850becf58ef7fc5e1 (patch)
tree3b9d5c56f5a56aa3624a5393753d6a565aff22d6 /ext2fs/ext2fs.h
parent464f71ba1c8d7384a8ec35f4edd5d69b4597bf95 (diff)
Formerly ext2fs.h.~43~
Diffstat (limited to 'ext2fs/ext2fs.h')
-rw-r--r--ext2fs/ext2fs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext2fs/ext2fs.h b/ext2fs/ext2fs.h
index 4afafe69..ded19345 100644
--- a/ext2fs/ext2fs.h
+++ b/ext2fs/ext2fs.h
@@ -385,8 +385,8 @@ extern inline void
record_global_poke (void *ptr)
{
int boffs = trunc_block (bptr_offs (ptr));
- if (global_block_modified (boffs_block (boffs)))
- pokel_add (&global_pokel, boffs_ptr(boffs), block_size);
+ global_block_modified (boffs_block (boffs));
+ pokel_add (&global_pokel, boffs_ptr(boffs), block_size);
}
/* This syncs a modification to a non-file block. */
@@ -403,8 +403,8 @@ extern inline void
record_indir_poke (struct node *node, void *ptr)
{
int boffs = trunc_block (bptr_offs (ptr));
- if (global_block_modified (boffs_block (boffs)))
- pokel_add (&node->dn->indir_pokel, boffs_ptr(boffs), block_size);
+ global_block_modified (boffs_block (boffs));
+ pokel_add (&node->dn->indir_pokel, boffs_ptr(boffs), block_size);
}
/* ---------------------------------------------------------------- */