Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145153
b: refs/heads/master
c: 31a1440
h: refs/heads/master
i:
  145151: ae8d16e
v: v3
  • Loading branch information
Ian Campbell authored and Jens Axboe committed May 19, 2009
1 parent ede50b3 commit f8019ef
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 28afea5b2ffaa48f4f43d22ae8edcc384c05df80
refs/heads/master: 31a14400e8f365e5d4d1a0b2a1ef4d5405d6091e
4 changes: 2 additions & 2 deletions trunk/drivers/block/xen-blkfront.c
Original file line number Diff line number Diff line change
Expand Up @@ -934,8 +934,6 @@ static void blkfront_closing(struct xenbus_device *dev)

spin_lock_irqsave(&blkif_io_lock, flags);

del_gendisk(info->gd);

/* No more blkif_request(). */
blk_stop_queue(info->rq);

Expand All @@ -949,6 +947,8 @@ static void blkfront_closing(struct xenbus_device *dev)
blk_cleanup_queue(info->rq);
info->rq = NULL;

del_gendisk(info->gd);

out:
xenbus_frontend_closed(dev);
}
Expand Down

0 comments on commit f8019ef

Please sign in to comment.