Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288330
b: refs/heads/master
c: af63bcb
h: refs/heads/master
v: v3
  • Loading branch information
Joe Thornber authored and Alasdair G Kergon committed Mar 7, 2012
1 parent c133e26 commit 454a1cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4469a5f387fdde956894137751a41473618a4a52
refs/heads/master: af63bcb817cf708f53bcae6edc2e3fb7dd7d8051
2 changes: 2 additions & 0 deletions trunk/drivers/md/dm-thin-metadata.c
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,8 @@ static int __remove(struct dm_thin_device *td, dm_block_t block)
if (r)
return r;

td->mapped_blocks--;
td->changed = 1;
pmd->need_commit = 1;

return 0;
Expand Down

0 comments on commit 454a1cb

Please sign in to comment.