Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208282
b: refs/heads/master
c: 9897cb5
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Stodden authored and Jens Axboe committed Aug 7, 2010
1 parent 3087d9a commit 498f609
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 89de1669ace055b56f1de1c9f5aca26dd7f17f25
refs/heads/master: 9897cb532382f075b337f7933b5a50f0ffc32d35
3 changes: 3 additions & 0 deletions trunk/drivers/block/xen-blkfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -1029,6 +1029,9 @@ static void blkfront_closing(struct blkfront_info *info)
blk_cleanup_queue(info->rq);
info->rq = NULL;

put_disk(info->gd);
info->gd = NULL;

out:
if (info->xbdev)
xenbus_frontend_closed(info->xbdev);
Expand Down

0 comments on commit 498f609

Please sign in to comment.