[sheepdog] [PATCH] sbd: redefine sbd_debug()

2015-01-20 Thread hujianyang
Current marco sbd_debug() will always print debug message while CONFIG_DYNAMIC_DEBUG=y. That's because the missing condition check of *_DPRINTK_FLAGS_PRINT*. diff --git a/sbd/sbd.h b/sbd/sbd.h index c0b9ef3..97ab921 100644 --- a/sbd/sbd.h +++ b/sbd/sbd.h @@ -131,6 +131,7 @@ static inline int

Re: [sheepdog] [PATCH] sbd: redefine sbd_debug()

2015-01-20 Thread Hitoshi Mitake
At Tue, 20 Jan 2015 18:19:18 +0800, hujianyang wrote: Current marco sbd_debug() will always print debug message while CONFIG_DYNAMIC_DEBUG=y. That's because the missing condition check of *_DPRINTK_FLAGS_PRINT*. diff --git a/sbd/sbd.h b/sbd/sbd.h index c0b9ef3..97ab921 100644 ---