aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/cifs/cifsproto.h2
-rw-r--r--fs/cifs/cifssmb.c2
-rw-r--r--fs/cifs/connect.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h
index c7b220206ce0..66eaa6b40373 100644
--- a/fs/cifs/cifsproto.h
+++ b/fs/cifs/cifsproto.h
@@ -129,7 +129,7 @@ extern int get_dfs_path(int xid, struct cifsSesInfo *pSesInfo,
129 int remap); 129 int remap);
130extern int CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon, 130extern int CIFSSMBQFSInfo(const int xid, struct cifsTconInfo *tcon,
131 struct kstatfs *FSData); 131 struct kstatfs *FSData);
132extern int CIFSSMBSETFSUnixInfo(const int xid, struct cifsTconInfo *tcon, 132extern int CIFSSMBSetFSUnixInfo(const int xid, struct cifsTconInfo *tcon,
133 __u64 cap); 133 __u64 cap);
134 134
135extern int CIFSSMBQFSAttributeInfo(const int xid, 135extern int CIFSSMBQFSAttributeInfo(const int xid,
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index 7d14f2414812..f3dfae7788fd 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -3281,7 +3281,7 @@ QFSUnixRetry:
3281} 3281}
3282 3282
3283int 3283int
3284CIFSSMBSETFSUnixInfo(const int xid, struct cifsTconInfo *tcon, __u64 cap) 3284CIFSSMBSetFSUnixInfo(const int xid, struct cifsTconInfo *tcon, __u64 cap)
3285{ 3285{
3286/* level 0x200 SMB_SET_CIFS_UNIX_INFO */ 3286/* level 0x200 SMB_SET_CIFS_UNIX_INFO */
3287 TRANSACTION2_SETFSI_REQ *pSMB = NULL; 3287 TRANSACTION2_SETFSI_REQ *pSMB = NULL;
diff --git a/fs/cifs/connect.c b/fs/cifs/connect.c
index bef5d6f30975..f6d2a7974fc1 100644
--- a/fs/cifs/connect.c
+++ b/fs/cifs/connect.c
@@ -1794,7 +1794,7 @@ cifs_mount(struct super_block *sb, struct cifs_sb_info *cifs_sb,
1794 /* Try and negotiate POSIX pathnames if we can. */ 1794 /* Try and negotiate POSIX pathnames if we can. */
1795 if (volume_info.posix_paths && (CIFS_UNIX_POSIX_PATHNAMES_CAP & 1795 if (volume_info.posix_paths && (CIFS_UNIX_POSIX_PATHNAMES_CAP &
1796 le64_to_cpu(tcon->fsUnixInfo.Capability))) { 1796 le64_to_cpu(tcon->fsUnixInfo.Capability))) {
1797 if (!CIFSSMBSETFSUnixInfo(xid, tcon, CIFS_UNIX_POSIX_PATHNAMES_CAP, 0)) { 1797 if (!CIFSSMBSetFSUnixInfo(xid, tcon, CIFS_UNIX_POSIX_PATHNAMES_CAP)) {
1798 cFYI(1,("negotiated posix pathnames support")); 1798 cFYI(1,("negotiated posix pathnames support"));
1799 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_POSIX_PATHS; 1799 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_POSIX_PATHS;
1800 } else { 1800 } else {