blkfront: Clean up vbd release
commita66b5aebb7dc9e695dcb4b528906fd398b63f3d9
authorDaniel Stodden <daniel.stodden@citrix.com>
Sat, 7 Aug 2010 16:33:17 +0000 (7 18:33 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 7 Aug 2010 16:38:43 +0000 (7 18:38 +0200)
tree684df2ec45c83f1dc267803f4fdf4ac684bf30d0
parent9897cb532382f075b337f7933b5a50f0ffc32d35
blkfront: Clean up vbd release

 * Current blkfront_closing is rather a xlvbd_release_gendisk.
   Renamed in preparation of later patches (need the name again).

 * Removed the misleading comment -- this only applied to the backend
   switch handler, and the queue is already flushed btw.

 * Break out the xenbus call, callers know better when to switch
   frontend state.

Signed-off-by: Daniel Stodden <daniel.stodden@citrix.com>
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/xen-blkfront.c