Commit 99b1f5b2 authored by Steve French's avatar Steve French

[CIFS] remove checkpatch warning

Signed-off-by: default avatarSteve French <sfrench@us.ibm.com>
parent f984c7b9
...@@ -395,11 +395,16 @@ cifs_proc_init(void) ...@@ -395,11 +395,16 @@ cifs_proc_init(void)
proc_create("cifsFYI", 0, proc_fs_cifs, &cifsFYI_proc_fops); proc_create("cifsFYI", 0, proc_fs_cifs, &cifsFYI_proc_fops);
proc_create("traceSMB", 0, proc_fs_cifs, &traceSMB_proc_fops); proc_create("traceSMB", 0, proc_fs_cifs, &traceSMB_proc_fops);
proc_create("OplockEnabled", 0, proc_fs_cifs, &cifs_oplock_proc_fops); proc_create("OplockEnabled", 0, proc_fs_cifs, &cifs_oplock_proc_fops);
proc_create("Experimental", 0, proc_fs_cifs, &cifs_experimental_proc_fops); proc_create("Experimental", 0, proc_fs_cifs,
proc_create("LinuxExtensionsEnabled", 0, proc_fs_cifs, &cifs_linux_ext_proc_fops); &cifs_experimental_proc_fops);
proc_create("MultiuserMount", 0, proc_fs_cifs, &cifs_multiuser_mount_proc_fops); proc_create("LinuxExtensionsEnabled", 0, proc_fs_cifs,
proc_create("SecurityFlags", 0, proc_fs_cifs, &cifs_security_flags_proc_fops); &cifs_linux_ext_proc_fops);
proc_create("LookupCacheEnabled", 0, proc_fs_cifs, &cifs_lookup_cache_proc_fops); proc_create("MultiuserMount", 0, proc_fs_cifs,
&cifs_multiuser_mount_proc_fops);
proc_create("SecurityFlags", 0, proc_fs_cifs,
&cifs_security_flags_proc_fops);
proc_create("LookupCacheEnabled", 0, proc_fs_cifs,
&cifs_lookup_cache_proc_fops);
} }
void void
...@@ -655,9 +660,9 @@ static int cifs_multiuser_mount_proc_show(struct seq_file *m, void *v) ...@@ -655,9 +660,9 @@ static int cifs_multiuser_mount_proc_show(struct seq_file *m, void *v)
return 0; return 0;
} }
static int cifs_multiuser_mount_proc_open(struct inode *inode, struct file *file) static int cifs_multiuser_mount_proc_open(struct inode *inode, struct file *fh)
{ {
return single_open(file, cifs_multiuser_mount_proc_show, NULL); return single_open(fh, cifs_multiuser_mount_proc_show, NULL);
} }
static ssize_t cifs_multiuser_mount_proc_write(struct file *file, static ssize_t cifs_multiuser_mount_proc_write(struct file *file,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment