OSDN Git Service

[CIFS] Various small checkpatch cleanups
authorSteve French <sfrench@us.ibm.com>
Thu, 7 Oct 2010 18:46:32 +0000 (18:46 +0000)
committerSteve French <sfrench@us.ibm.com>
Thu, 7 Oct 2010 18:46:32 +0000 (18:46 +0000)
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/cifs_debug.h
fs/cifs/cifsfs.h
fs/cifs/cifsglob.h

index aa31689..8942b28 100644 (file)
@@ -34,7 +34,7 @@ void cifs_dump_mids(struct TCP_Server_Info *);
 extern int traceSMB;           /* flag which enables the function below */
 void dump_smb(struct smb_hdr *, int);
 #define CIFS_INFO      0x01
-#define CIFS_RC        0x02
+#define CIFS_RC                0x02
 #define CIFS_TIMER     0x04
 
 /*
index d82f5fb..786bdf3 100644 (file)
@@ -104,7 +104,7 @@ extern int cifs_readlink(struct dentry *direntry, char __user *buffer,
 extern int cifs_symlink(struct inode *inode, struct dentry *direntry,
                        const char *symname);
 extern int     cifs_removexattr(struct dentry *, const char *);
-extern int     cifs_setxattr(struct dentry *, const char *, const void *,
+extern int     cifs_setxattr(struct dentry *, const char *, const void *,
                        size_t, int);
 extern ssize_t cifs_getxattr(struct dentry *, const char *, void *, size_t);
 extern ssize_t cifs_listxattr(struct dentry *, char *, size_t);
index 9a7c472..4f85dfd 100644 (file)
@@ -517,16 +517,16 @@ struct oplock_q_entry {
 
 /* for pending dnotify requests */
 struct dir_notify_req {
-       struct list_head lhead;
-       __le16 Pid;
-       __le16 PidHigh;
-       __u16 Mid;
-       __u16 Tid;
-       __u16 Uid;
-       __u16 netfid;
-       __u32 filter; /* CompletionFilter (for multishot) */
-       int multishot;
-       struct file *pfile;
+       struct list_head lhead;
+       __le16 Pid;
+       __le16 PidHigh;
+       __u16 Mid;
+       __u16 Tid;
+       __u16 Uid;
+       __u16 netfid;
+       __u32 filter; /* CompletionFilter (for multishot) */
+       int multishot;
+       struct file *pfile;
 };
 
 struct dfs_info3_param {