[CIFS] Fix typo in POSIX SetFSInfo call
authorSteve French <sfrench@us.ibm.com>
Thu, 23 Jun 2005 18:42:03 +0000 (13:42 -0500)
committerSteve French <sfrench@us.ibm.com>
Thu, 23 Jun 2005 18:42:03 +0000 (13:42 -0500)
Signed-off-by: Steve French (sfrench@us.ibm.com)
fs/cifs/cifsproto.h
fs/cifs/cifssmb.c
fs/cifs/connect.c

index c7b220206ce026a04d1ed610abdc804317eba857..66eaa6b40373166730ecc3123ef7fdc8633bdb85 100644 (file)
@@ -129,7 +129,7 @@ extern int get_dfs_path(int xid, struct cifsSesInfo *pSesInfo,
                        int remap);
 extern int CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon,
                        struct kstatfs *FSData);
-extern int CIFSSMBSETFSUnixInfo(const int xid, struct cifsTconInfo *tcon,
+extern int CIFSSMBSetFSUnixInfo(const int xid, struct cifsTconInfo *tcon,
                        __u64 cap);
 
 extern int CIFSSMBQFSAttributeInfo(const int xid,
index 7d14f24148120e26c80015224ebe19b162b17793..f3dfae7788fd02414746945ae78c3916653d1118 100644 (file)
@@ -3281,7 +3281,7 @@ QFSUnixRetry:
 }
 
 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 */
        TRANSACTION2_SETFSI_REQ *pSMB = NULL;
index bef5d6f30975aaee0541e360181d34138a146358..f6d2a7974fc13f1e22084810e4a46aabb1f4ee79 100644 (file)
@@ -1794,7 +1794,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
                                /* Try and negotiate POSIX pathnames if we can. */
                                if (volume_info.posix_paths && (CIFS_UNIX_POSIX_PATHNAMES_CAP &
                                    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"));
                                                cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_POSIX_PATHS;
                                        } else {