Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208281
b: refs/heads/master
c: 89de166
h: refs/heads/master
i:
  208279: bd2a223
v: v3
  • Loading branch information
Daniel Stodden authored and Jens Axboe committed Aug 7, 2010
1 parent 820dd83 commit 3087d9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 5b61cb90c2ad8c853b4dd53eec200bacd2f02172
refs/heads/master: 89de1669ace055b56f1de1c9f5aca26dd7f17f25
6 changes: 3 additions & 3 deletions trunk/drivers/block/xen-blkfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -1021,14 +1021,14 @@ static void blkfront_closing(struct blkfront_info *info)
/* Flush gnttab callback work. Must be done with no locks held. */
flush_scheduled_work();

blk_cleanup_queue(info->rq);
info->rq = NULL;

minor = info->gd->first_minor;
nr_minors = info->gd->minors;
del_gendisk(info->gd);
xlbd_release_minors(minor, nr_minors);

blk_cleanup_queue(info->rq);
info->rq = NULL;

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

0 comments on commit 3087d9a

Please sign in to comment.