diff options
Diffstat (limited to 'fs/cifs/cifs_debug.c')
-rw-r--r-- | fs/cifs/cifs_debug.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index 4bd863716f79..892fc70cc951 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c | |||
@@ -438,7 +438,7 @@ cifs_stats_read(char *buf, char **beginBuffer, off_t offset, | |||
438 | 438 | ||
439 | return length; | 439 | return length; |
440 | } | 440 | } |
441 | #endif | 441 | #endif /* STATS */ |
442 | 442 | ||
443 | static struct proc_dir_entry *proc_fs_cifs; | 443 | static struct proc_dir_entry *proc_fs_cifs; |
444 | read_proc_t cifs_txanchor_read; | 444 | read_proc_t cifs_txanchor_read; |
@@ -481,7 +481,7 @@ cifs_proc_init(void) | |||
481 | cifs_stats_read, NULL); | 481 | cifs_stats_read, NULL); |
482 | if (pde) | 482 | if (pde) |
483 | pde->write_proc = cifs_stats_write; | 483 | pde->write_proc = cifs_stats_write; |
484 | #endif | 484 | #endif /* STATS */ |
485 | pde = create_proc_read_entry("cifsFYI", 0, proc_fs_cifs, | 485 | pde = create_proc_read_entry("cifsFYI", 0, proc_fs_cifs, |
486 | cifsFYI_read, NULL); | 486 | cifsFYI_read, NULL); |
487 | if (pde) | 487 | if (pde) |
@@ -917,4 +917,12 @@ security_flags_write(struct file *file, const char __user *buffer, | |||
917 | /* BB should we turn on MAY flags for other MUST options? */ | 917 | /* BB should we turn on MAY flags for other MUST options? */ |
918 | return count; | 918 | return count; |
919 | } | 919 | } |
920 | #endif | 920 | #else |
921 | static inline void cifs_proc_init(void) | ||
922 | { | ||
923 | } | ||
924 | |||
925 | static inline void cifs_proc_clean(void) | ||
926 | { | ||
927 | } | ||
928 | #endif /* PROC_FS */ | ||