Commit 1bc05b0ae6448b20d46076899e0cc12ad999e50e

Authored by Joe Jin
Committed by Konrad Rzeszutek Wilk
1 parent 6f5986bce5

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>

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

drivers/block/xen-blkback/common.h
... ... @@ -46,7 +46,7 @@
46 46  
47 47 #define DRV_PFX "xen-blkback:"
48 48 #define DPRINTK(fmt, args...) \
49   - pr_debug(DRV_PFX "(%s:%d) " fmt ".\n", \
  49 + pr_debug(DRV_PFX "(%s:%d) " fmt ".\n", \
50 50 __func__, __LINE__, ##args)
51 51  
52 52  
drivers/block/xen-blkback/xenbus.c
... ... @@ -590,7 +590,7 @@
590 590  
591 591 /*
592 592 * Enforce precondition before potential leak point.
593   - * blkif_disconnect() is idempotent.
  593 + * xen_blkif_disconnect() is idempotent.
594 594 */
595 595 xen_blkif_disconnect(be->blkif);
596 596  
... ... @@ -611,7 +611,7 @@
611 611 break;
612 612 /* fall through if not online */
613 613 case XenbusStateUnknown:
614   - /* implies blkif_disconnect() via blkback_remove() */
  614 + /* implies xen_blkif_disconnect() via xen_blkbk_remove() */
615 615 device_unregister(&dev->dev);
616 616 break;
617 617