summaryrefslogtreecommitdiffstats
path: root/drivers/block/xen-blkback/xenbus.c
diff options
context:
space:
mode:
authorJoe Jin <joe.jin@oracle.com>2011-08-15 12:57:07 +0800
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-10-13 09:48:33 -0400
commitc555aab97de139ac8762c922248bb68f43a8c488 (patch)
tree8dcae9533434adc889963d8a38d65c5a001a69ea /drivers/block/xen-blkback/xenbus.c
parent69ef68cef961a934c35308843a04b26d91cad4a8 (diff)
downloadblackbird-op-linux-c555aab97de139ac8762c922248bb68f43a8c488.tar.gz
blackbird-op-linux-c555aab97de139ac8762c922248bb68f43a8c488.zip
xen-blkback: fixed indentation and comments
This patch fixes belows: 1. Fix code style issue. 2. Fix incorrect functions name in comments. Signed-off-by: Joe Jin <joe.jin@oracle.com> Cc: Jens Axboe <jaxboe@fusionio.com> Cc: Ian Campbell <Ian.Campbell@eu.citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/block/xen-blkback/xenbus.c')
-rw-r--r--drivers/block/xen-blkback/xenbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/xen-blkback/xenbus.c b/drivers/block/xen-blkback/xenbus.c
index 2b3aef0332f3..1c44b3254134 100644
--- a/drivers/block/xen-blkback/xenbus.c
+++ b/drivers/block/xen-blkback/xenbus.c
@@ -646,7 +646,7 @@ static void frontend_changed(struct xenbus_device *dev,
/*
* Enforce precondition before potential leak point.
- * blkif_disconnect() is idempotent.
+ * xen_blkif_disconnect() is idempotent.
*/
xen_blkif_disconnect(be->blkif);
@@ -667,7 +667,7 @@ static void frontend_changed(struct xenbus_device *dev,
break;
/* fall through if not online */
case XenbusStateUnknown:
- /* implies blkif_disconnect() via blkback_remove() */
+ /* implies xen_blkif_disconnect() via xen_blkbk_remove() */
device_unregister(&dev->dev);
break;
OpenPOWER on IntegriCloud