forked from Minki/linux
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>
This commit is contained in:
parent
69ef68cef9
commit
c555aab97d
@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
#define DRV_PFX "xen-blkback:"
|
#define DRV_PFX "xen-blkback:"
|
||||||
#define DPRINTK(fmt, args...) \
|
#define DPRINTK(fmt, args...) \
|
||||||
pr_debug(DRV_PFX "(%s:%d) " fmt ".\n", \
|
pr_debug(DRV_PFX "(%s:%d) " fmt ".\n", \
|
||||||
__func__, __LINE__, ##args)
|
__func__, __LINE__, ##args)
|
||||||
|
|
||||||
|
|
||||||
|
@ -646,7 +646,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);
|
||||||
|
|
||||||
@ -667,7 +667,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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user