Kaynağa Gözat

[CIFS] Fix typo in POSIX SetFSInfo call

Signed-off-by: Steve French (sfrench@us.ibm.com)
Steve French 20 yıl önce
ebeveyn
işleme
45abc6ee2b
3 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. 1 1
      fs/cifs/cifsproto.h
  2. 1 1
      fs/cifs/cifssmb.c
  3. 1 1
      fs/cifs/connect.c

+ 1 - 1
fs/cifs/cifsproto.h

@@ -129,7 +129,7 @@ extern int get_dfs_path(int xid, struct cifsSesInfo *pSesInfo,
 			int remap);
 			int remap);
 extern int CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon,
 extern int CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon,
 			struct kstatfs *FSData);
 			struct kstatfs *FSData);
-extern int CIFSSMBSETFSUnixInfo(const int xid, struct cifsTconInfo *tcon,
+extern int CIFSSMBSetFSUnixInfo(const int xid, struct cifsTconInfo *tcon,
 			__u64 cap);
 			__u64 cap);
 
 
 extern int CIFSSMBQFSAttributeInfo(const int xid,
 extern int CIFSSMBQFSAttributeInfo(const int xid,

+ 1 - 1
fs/cifs/cifssmb.c

@@ -3281,7 +3281,7 @@ QFSUnixRetry:
 }
 }
 
 
 int
 int
-CIFSSMBSETFSUnixInfo(const int xid, struct cifsTconInfo *tcon, __u64 cap)
+CIFSSMBSetFSUnixInfo(const int xid, struct cifsTconInfo *tcon, __u64 cap)
 {
 {
 /* level 0x200  SMB_SET_CIFS_UNIX_INFO */
 /* level 0x200  SMB_SET_CIFS_UNIX_INFO */
 	TRANSACTION2_SETFSI_REQ *pSMB = NULL;
 	TRANSACTION2_SETFSI_REQ *pSMB = NULL;

+ 1 - 1
fs/cifs/connect.c

@@ -1794,7 +1794,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
 				/* Try and negotiate POSIX pathnames if we can. */
 				/* Try and negotiate POSIX pathnames if we can. */
 				if (volume_info.posix_paths && (CIFS_UNIX_POSIX_PATHNAMES_CAP &
 				if (volume_info.posix_paths && (CIFS_UNIX_POSIX_PATHNAMES_CAP &
 				    le64_to_cpu(tcon->fsUnixInfo.Capability))) {
 				    le64_to_cpu(tcon->fsUnixInfo.Capability))) {
-					if (!CIFSSMBSETFSUnixInfo(xid, tcon, CIFS_UNIX_POSIX_PATHNAMES_CAP, 0))  {
+					if (!CIFSSMBSetFSUnixInfo(xid, tcon, CIFS_UNIX_POSIX_PATHNAMES_CAP))  {
 						cFYI(1,("negotiated posix pathnames support"));
 						cFYI(1,("negotiated posix pathnames support"));
 						cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_POSIX_PATHS;
 						cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_POSIX_PATHS;
 					} else {
 					} else {