Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

cifs: eliminate cifsERROR variable

It's always set to "1" and there's no way to change it to anything else.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>

authored by

Jeff Layton and committed by
Steve French
9acbd26b 2f2591a3

+1 -6
+1 -5
fs/cifs/cifs_debug.h
··· 37 #define CIFS_TIMER 0x04 38 39 extern int cifsFYI; 40 - extern int cifsERROR; 41 42 /* 43 * debug ON ··· 63 64 /* error event message: e.g., i/o error */ 65 #define cifserror(fmt, ...) \ 66 - do { \ 67 - if (cifsERROR) \ 68 - printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \ 69 - } while (0) 70 71 #define cERROR(set, fmt, ...) \ 72 do { \
··· 37 #define CIFS_TIMER 0x04 38 39 extern int cifsFYI; 40 41 /* 42 * debug ON ··· 64 65 /* error event message: e.g., i/o error */ 66 #define cifserror(fmt, ...) \ 67 + printk(KERN_ERR "CIFS VFS: " fmt "\n", ##__VA_ARGS__); \ 68 69 #define cERROR(set, fmt, ...) \ 70 do { \
-1
fs/cifs/cifsfs.c
··· 54 #endif 55 56 int cifsFYI = 0; 57 - int cifsERROR = 1; 58 int traceSMB = 0; 59 bool enable_oplocks = true; 60 unsigned int linuxExtEnabled = 1;
··· 54 #endif 55 56 int cifsFYI = 0; 57 int traceSMB = 0; 58 bool enable_oplocks = true; 59 unsigned int linuxExtEnabled = 1;