diff options
author | Steve French <sfrench@us.ibm.com> | 2008-07-23 22:37:45 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-07-23 22:37:45 -0400 |
commit | 99b1f5b2f6cd2f65cce02c5f63302df5878a5fbc (patch) | |
tree | 17b94f24104a723a036d08dab6c6f5291f7a13b9 | |
parent | f984c7b98253c541ed6e702ee521f6a84c8113d4 (diff) |
[CIFS] remove checkpatch warning
Signed-off-by: Steve French <sfrench@us.ibm.com>
-rw-r--r-- | fs/cifs/cifs_debug.c | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/fs/cifs/cifs_debug.c b/fs/cifs/cifs_debug.c index 73925a77375e..c213aa40064e 100644 --- a/fs/cifs/cifs_debug.c +++ b/fs/cifs/cifs_debug.c | |||
@@ -395,11 +395,16 @@ cifs_proc_init(void) | |||
395 | proc_create("cifsFYI", 0, proc_fs_cifs, &cifsFYI_proc_fops); | 395 | proc_create("cifsFYI", 0, proc_fs_cifs, &cifsFYI_proc_fops); |
396 | proc_create("traceSMB", 0, proc_fs_cifs, &traceSMB_proc_fops); | 396 | proc_create("traceSMB", 0, proc_fs_cifs, &traceSMB_proc_fops); |
397 | proc_create("OplockEnabled", 0, proc_fs_cifs, &cifs_oplock_proc_fops); | 397 | proc_create("OplockEnabled", 0, proc_fs_cifs, &cifs_oplock_proc_fops); |
398 | proc_create("Experimental", 0, proc_fs_cifs, &cifs_experimental_proc_fops); | 398 | proc_create("Experimental", 0, proc_fs_cifs, |
399 | proc_create("LinuxExtensionsEnabled", 0, proc_fs_cifs, &cifs_linux_ext_proc_fops); | 399 | &cifs_experimental_proc_fops); |
400 | proc_create("MultiuserMount", 0, proc_fs_cifs, &cifs_multiuser_mount_proc_fops); | 400 | proc_create("LinuxExtensionsEnabled", 0, proc_fs_cifs, |
401 | proc_create("SecurityFlags", 0, proc_fs_cifs, &cifs_security_flags_proc_fops); | 401 | &cifs_linux_ext_proc_fops); |
402 | proc_create("LookupCacheEnabled", 0, proc_fs_cifs, &cifs_lookup_cache_proc_fops); | 402 | proc_create("MultiuserMount", 0, proc_fs_cifs, |
403 | &cifs_multiuser_mount_proc_fops); | ||
404 | proc_create("SecurityFlags", 0, proc_fs_cifs, | ||
405 | &cifs_security_flags_proc_fops); | ||
406 | proc_create("LookupCacheEnabled", 0, proc_fs_cifs, | ||
407 | &cifs_lookup_cache_proc_fops); | ||
403 | } | 408 | } |
404 | 409 | ||
405 | void | 410 | void |
@@ -655,9 +660,9 @@ static int cifs_multiuser_mount_proc_show(struct seq_file *m, void *v) | |||
655 | return 0; | 660 | return 0; |
656 | } | 661 | } |
657 | 662 | ||
658 | static int cifs_multiuser_mount_proc_open(struct inode *inode, struct file *file) | 663 | static int cifs_multiuser_mount_proc_open(struct inode *inode, struct file *fh) |
659 | { | 664 | { |
660 | return single_open(file, cifs_multiuser_mount_proc_show, NULL); | 665 | return single_open(fh, cifs_multiuser_mount_proc_show, NULL); |
661 | } | 666 | } |
662 | 667 | ||
663 | static ssize_t cifs_multiuser_mount_proc_write(struct file *file, | 668 | static ssize_t cifs_multiuser_mount_proc_write(struct file *file, |