Commit 1bc05b0a authored by Joe Jin's avatar Joe Jin Committed by Konrad Rzeszutek Wilk

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: default avatarJoe Jin <joe.jin@oracle.com>
Cc: Jens Axboe <jaxboe@fusionio.com>
Cc: Ian Campbell <Ian.Campbell@eu.citrix.com>
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 6f5986bc
...@@ -590,7 +590,7 @@ static void frontend_changed(struct xenbus_device *dev, ...@@ -590,7 +590,7 @@ static void frontend_changed(struct xenbus_device *dev,
/* /*
* Enforce precondition before potential leak point. * Enforce precondition before potential leak point.
* blkif_disconnect() is idempotent. * xen_blkif_disconnect() is idempotent.
*/ */
xen_blkif_disconnect(be->blkif); xen_blkif_disconnect(be->blkif);
...@@ -611,7 +611,7 @@ static void frontend_changed(struct xenbus_device *dev, ...@@ -611,7 +611,7 @@ static void frontend_changed(struct xenbus_device *dev,
break; break;
/* fall through if not online */ /* fall through if not online */
case XenbusStateUnknown: case XenbusStateUnknown:
/* implies blkif_disconnect() via blkback_remove() */ /* implies xen_blkif_disconnect() via xen_blkbk_remove() */
device_unregister(&dev->dev); device_unregister(&dev->dev);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment