Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 361517
b: refs/heads/master
c: 79ed9ca
h: refs/heads/master
i:
  361515: d7c40ff
v: v3
  • Loading branch information
Joe Thornber authored and Alasdair G Kergon committed Mar 20, 2013
1 parent 1e518d5 commit cbc5556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b978440b8db901aba0c4cd38c7c841c9b5cd9a7e
refs/heads/master: 79ed9caffc9fff67aa64fd683e791aa70f1bcb51
2 changes: 1 addition & 1 deletion trunk/drivers/md/dm-cache-metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,7 @@ static int __dirty(struct dm_cache_metadata *cmd, dm_cblock_t cblock, bool dirty
/* nothing to be done */
return 0;

value = pack_value(oblock, flags | (dirty ? M_DIRTY : 0));
value = pack_value(oblock, (flags & ~M_DIRTY) | (dirty ? M_DIRTY : 0));
__dm_bless_for_disk(&value);

r = dm_array_set_value(&cmd->info, cmd->root, from_cblock(cblock),
Expand Down

0 comments on commit cbc5556

Please sign in to comment.