xen/blkback: Make the DPRINTK uniform.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
parent
ebe8190659
commit
1afbd730a3
|
@ -42,9 +42,9 @@
|
||||||
#include <xen/grant_table.h>
|
#include <xen/grant_table.h>
|
||||||
#include <xen/xenbus.h>
|
#include <xen/xenbus.h>
|
||||||
|
|
||||||
#define DPRINTK(_f, _a...) \
|
#define DPRINTK(fmt, args...) \
|
||||||
pr_debug("(file=%s, line=%d) " _f, \
|
pr_debug("xen-blkback: (%s:%d) " fmt ".\n", \
|
||||||
__FILE__ , __LINE__ , ## _a)
|
__func__, __LINE__, ##args)
|
||||||
|
|
||||||
struct vbd {
|
struct vbd {
|
||||||
/* What the domain refers to this vbd as. */
|
/* What the domain refers to this vbd as. */
|
||||||
|
|
|
@ -21,11 +21,6 @@
|
||||||
#include <xen/grant_table.h>
|
#include <xen/grant_table.h>
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#undef DPRINTK
|
|
||||||
#define DPRINTK(fmt, args...) \
|
|
||||||
pr_debug("xen-blkback: (%s:%d) " fmt ".\n", \
|
|
||||||
__func__, __LINE__, ##args)
|
|
||||||
|
|
||||||
struct backend_info {
|
struct backend_info {
|
||||||
struct xenbus_device *dev;
|
struct xenbus_device *dev;
|
||||||
struct blkif_st *blkif;
|
struct blkif_st *blkif;
|
||||||
|
|
Loading…
Reference in New Issue