Browse Source

[CIFS] Fix checkpatch warnings and bump cifs version number

Signed-off-by: Steve French <sfrench@us.ibm.com>
Steve French 14 năm trước cách đây
mục cha
commit
6c0f6218ba
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      fs/cifs/cifsfs.h
  2. 2 2
      fs/cifs/cifsglob.h

+ 1 - 1
fs/cifs/cifsfs.h

@@ -112,5 +112,5 @@ extern long cifs_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
 extern const struct export_operations cifs_export_ops;
 #endif /* EXPERIMENTAL */
 
-#define CIFS_VERSION   "1.67"
+#define CIFS_VERSION   "1.68"
 #endif				/* _CIFSFS_H */

+ 2 - 2
fs/cifs/cifsglob.h

@@ -74,7 +74,7 @@
  * CIFS vfs client Status information (based on what we know.)
  */
 
- /* associated with each tcp and smb session */
+/* associated with each tcp and smb session */
 enum statusEnum {
 	CifsNew = 0,
 	CifsGood,
@@ -395,7 +395,7 @@ struct cifsFileInfo {
 	struct list_head llist; /* list of byte range locks we have. */
 	bool invalidHandle:1;	/* file closed via session abend */
 	bool oplock_break_cancelled:1;
-	int count;		/* refcount -- protected by cifs_file_list_lock */
+	int count;		/* refcount protected by cifs_file_list_lock */
 	struct mutex fh_mutex; /* prevents reopen race after dead ses*/
 	struct cifs_search_info srch_inf;
 	struct work_struct oplock_break; /* work for oplock breaks */