Skip to contentSkip to conversation

xen-blkback: fixed indentation and comments

PATCH Joe Jin 1 participant 1 message Aug 15, 2011

Subsystems (2)
lore
Share & tools
lore

Joe Jin

author
#0 lore raw

This patch fixes belows:

1. Fix code style issue.
2. Fix incorrect functions name in comments.

Cc Jens Axboe <[email protected]>
Cc Konrad Rzeszutek Wilk <[email protected]>
Cc Ian Campbell <[email protected]>
---
 drivers/block/xen-blkback/common.h |    2 +-
 drivers/block/xen-blkback/xenbus.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/block/xen-blkback/common.h +1 -1
index 9e40b28..00c57c9 100644
@@ -46,7 +46,7 @@
 
 #define DRV_PFX "xen-blkback:"
 #define DPRINTK(fmt, args...)				\
-	pr_debug(DRV_PFX "(%s:%d) " fmt ".\n",	\
+	pr_debug(DRV_PFX "(%s:%d) " fmt ".\n",		\
 		 __func__, __LINE__, ##args)
 
 
drivers/block/xen-blkback/xenbus.c +2 -2
index da39d61..9fa9d07 100644
@@ -598,7 +598,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);
 
@@ -619,7 +619,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;