Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71714
b: refs/heads/master
c: ae9da83
h: refs/heads/master
v: v3
  • Loading branch information
Jun'ichi Nomura authored and Alasdair G Kergon committed Oct 20, 2007
1 parent f787523 commit f71b169
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 79662d1ea37392651f2cff08626cab6a40ba3adc
refs/heads/master: ae9da83f6d800fe1f3b23bfbc8f7222ad1c5bb74
4 changes: 3 additions & 1 deletion trunk/drivers/md/dm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1044,12 +1044,14 @@ static struct mapped_device *alloc_dev(int minor)
return NULL;
}

static void unlock_fs(struct mapped_device *md);

static void free_dev(struct mapped_device *md)
{
int minor = md->disk->first_minor;

if (md->suspended_bdev) {
thaw_bdev(md->suspended_bdev, NULL);
unlock_fs(md);
bdput(md->suspended_bdev);
}
mempool_destroy(md->tio_pool);
Expand Down

0 comments on commit f71b169

Please sign in to comment.