diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-21 20:09:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-21 20:09:07 -0500 |
commit | 769cb858c23ba7379ea27208624b444cd7b61af2 (patch) | |
tree | ba4227309416ae19d56ac7191dbb4fd0c1784a8c /fs/cifs/cifs_debug.h | |
parent | b49249d10324d0fd6fb29725c2807dfd80d0edbc (diff) | |
parent | 9acbd26b0a5ac4a3d52d31034feb3d935e39032a (diff) |
Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6
Pull CIFS fixes from Steve French:
"Misc small cifs fixes"
* 'for-next' of git://git.samba.org/sfrench/cifs-2.6:
cifs: eliminate cifsERROR variable
cifs: don't compare uniqueids in cifs_prime_dcache unless server inode numbers are in use
cifs: fix double-free of "string" in cifs_parse_mount_options
Diffstat (limited to 'fs/cifs/cifs_debug.h')
-rw-r--r-- | fs/cifs/cifs_debug.h | 6 |
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 | ||
39 | extern int cifsFYI; | 39 | extern int cifsFYI; |
40 | extern 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, ...) \ |
67 | do { \ | 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, ...) \ |
73 | do { \ | 69 | do { \ |