aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifs_debug.h')
-rw-r--r--fs/cifs/cifs_debug.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/fs/cifs/cifs_debug.h b/fs/cifs/cifs_debug.h
index 86e92ef2abc1..69ae3d3c3b31 100644
--- a/fs/cifs/cifs_debug.h
+++ b/fs/cifs/cifs_debug.h
@@ -37,7 +37,6 @@ void dump_smb(void *, int);
37#define CIFS_TIMER 0x04 37#define CIFS_TIMER 0x04
38 38
39extern int cifsFYI; 39extern int cifsFYI;
40extern int cifsERROR;
41 40
42/* 41/*
43 * debug ON 42 * debug ON
@@ -64,10 +63,7 @@ do { \
64 63
65/* error event message: e.g., i/o error */ 64/* error event message: e.g., i/o error */
66#define cifserror(fmt, ...) \ 65#define cifserror(fmt, ...) \
67do { \ 66 printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \
68 if (cifsERROR) \
69 printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \
70} while (0)
71 67
72#define cERROR(set, fmt, ...) \ 68#define cERROR(set, fmt, ...) \
73do { \ 69do { \