Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319478
b: refs/heads/master
c: 905386f
h: refs/heads/master
v: v3
  • Loading branch information
Joe Thornber authored and Alasdair G Kergon committed Jul 27, 2012
1 parent b1d4e96 commit 9f8724e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: c66029f4d4226452e9a7f468650aa1d553525b81
refs/heads/master: 905386f82d08f66726912f303f3e6605248c60a3
5 changes: 3 additions & 2 deletions trunk/drivers/md/dm-thin.c
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ static void process_prepared_mapping(struct dm_thin_new_mapping *m)

if (m->err) {
cell_error(m->cell);
return;
goto out;
}

/*
Expand All @@ -882,7 +882,7 @@ static void process_prepared_mapping(struct dm_thin_new_mapping *m)
if (r) {
DMERR("dm_thin_insert_block() failed");
cell_error(m->cell);
return;
goto out;
}

/*
Expand All @@ -897,6 +897,7 @@ static void process_prepared_mapping(struct dm_thin_new_mapping *m)
} else
cell_defer(tc, m->cell, m->data_block);

out:
list_del(&m->list);
mempool_free(m, tc->pool->mapping_pool);
}
Expand Down

0 comments on commit 9f8724e

Please sign in to comment.