aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifspdu.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2008-04-24 12:31:12 -0400
committerSteve French <sfrench@us.ibm.com>2008-04-24 12:31:12 -0400
commitee4987ab5cc9d00be38cfeec90174229565211be (patch)
treeadd73dbff7db10606233d1a6176c793c2cd9f858 /fs/cifs/cifspdu.h
parent36d99df2fb474222ab47fbe8ae7385661033223b (diff)
[CIFS] Fix define for new proxy cap to match documentation
The transport encryption capability and new SetFSInfo level were missing, and the new proxy capability (which Samba server is implementing) and proxy setfsinfo needed to be moved down to not collide with Samba's transport encryption capability. CC: Jeremy Allison <jra@samba.org> CC: Sam Liddicott <sam@lidicott.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r--fs/cifs/cifspdu.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h
index b18c6d43bef3..3b889bc3e8d1 100644
--- a/fs/cifs/cifspdu.h
+++ b/fs/cifs/cifspdu.h
@@ -1787,7 +1787,8 @@ typedef struct smb_com_transaction2_fnext_rsp_parms {
1787#define SMB_QUERY_CIFS_UNIX_INFO 0x200 1787#define SMB_QUERY_CIFS_UNIX_INFO 0x200
1788#define SMB_QUERY_POSIX_FS_INFO 0x201 1788#define SMB_QUERY_POSIX_FS_INFO 0x201
1789#define SMB_QUERY_POSIX_WHO_AM_I 0x202 1789#define SMB_QUERY_POSIX_WHO_AM_I 0x202
1790#define SMB_QUERY_FS_PROXY 0x203 /* WAFS enabled. Returns structure 1790#define SMB_REQUEST_TRANSPORT_ENCRYPTION 0x203
1791#define SMB_QUERY_FS_PROXY 0x204 /* WAFS enabled. Returns structure
1791 FILE_SYSTEM__UNIX_INFO to tell 1792 FILE_SYSTEM__UNIX_INFO to tell
1792 whether new NTIOCTL available 1793 whether new NTIOCTL available
1793 (0xACE) for WAN friendly SMB 1794 (0xACE) for WAN friendly SMB
@@ -2048,7 +2049,9 @@ typedef struct {
2048#define CIFS_UNIX_LARGE_READ_CAP 0x00000040 /* support reads >128K (up 2049#define CIFS_UNIX_LARGE_READ_CAP 0x00000040 /* support reads >128K (up
2049 to 0xFFFF00 */ 2050 to 0xFFFF00 */
2050#define CIFS_UNIX_LARGE_WRITE_CAP 0x00000080 2051#define CIFS_UNIX_LARGE_WRITE_CAP 0x00000080
2051#define CIFS_UNIX_PROXY_CAP 0x00000100 /* Proxy cap: 0xACE ioctl and 2052#define CIFS_UNIX_TRANSPORT_ENCRYPTION_ 0x00000100 /* can do SPNEGO encrypt */
2053#define CIFS_UNIX_TRANPSORT_ENCRYPTION 0x00000200 /* must do SPNEGO encrypt */
2054#define CIFS_UNIX_PROXY_CAP 0x00000400 /* Proxy cap: 0xACE ioctl and
2052 QFS PROXY call */ 2055 QFS PROXY call */
2053#ifdef CONFIG_CIFS_POSIX 2056#ifdef CONFIG_CIFS_POSIX
2054/* Can not set pathnames cap yet until we send new posix create SMB since 2057/* Can not set pathnames cap yet until we send new posix create SMB since