diff options
| author | Steve French <sfrench@us.ibm.com> | 2008-04-18 12:40:32 -0400 |
|---|---|---|
| committer | Steve French <sfrench@us.ibm.com> | 2008-04-18 12:40:32 -0400 |
| commit | 2302aca8508ee727a0c5edde3a7518a4ee03da1b (patch) | |
| tree | fef16dbd21c7b2e856589f0bac211cfefb9c5d6c | |
| parent | 675c46796d601f63f2d47c6dd07332bca77ddae5 (diff) | |
[CIFS] Reserve new proxy cap for WAFS
New WAFS filer uses ioctls which are shown to be available
on a share by querying this info level
Acked-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stevef French <sfrench@us.ibm.com>
| -rw-r--r-- | fs/cifs/cifspdu.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index 64bd3ed6803a..b18c6d43bef3 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h | |||
| @@ -1787,6 +1787,11 @@ 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 | ||
| 1791 | FILE_SYSTEM__UNIX_INFO to tell | ||
| 1792 | whether new NTIOCTL available | ||
| 1793 | (0xACE) for WAN friendly SMB | ||
| 1794 | operations to be carried */ | ||
| 1790 | #define SMB_QUERY_LABEL_INFO 0x3ea | 1795 | #define SMB_QUERY_LABEL_INFO 0x3ea |
| 1791 | #define SMB_QUERY_FS_QUOTA_INFO 0x3ee | 1796 | #define SMB_QUERY_FS_QUOTA_INFO 0x3ee |
| 1792 | #define SMB_QUERY_FS_FULL_SIZE_INFO 0x3ef | 1797 | #define SMB_QUERY_FS_FULL_SIZE_INFO 0x3ef |
| @@ -2043,7 +2048,8 @@ typedef struct { | |||
| 2043 | #define CIFS_UNIX_LARGE_READ_CAP 0x00000040 /* support reads >128K (up | 2048 | #define CIFS_UNIX_LARGE_READ_CAP 0x00000040 /* support reads >128K (up |
| 2044 | to 0xFFFF00 */ | 2049 | to 0xFFFF00 */ |
| 2045 | #define CIFS_UNIX_LARGE_WRITE_CAP 0x00000080 | 2050 | #define CIFS_UNIX_LARGE_WRITE_CAP 0x00000080 |
| 2046 | 2051 | #define CIFS_UNIX_PROXY_CAP 0x00000100 /* Proxy cap: 0xACE ioctl and | |
| 2052 | QFS PROXY call */ | ||
| 2047 | #ifdef CONFIG_CIFS_POSIX | 2053 | #ifdef CONFIG_CIFS_POSIX |
| 2048 | /* Can not set pathnames cap yet until we send new posix create SMB since | 2054 | /* Can not set pathnames cap yet until we send new posix create SMB since |
| 2049 | otherwise server can treat such handles opened with older ntcreatex | 2055 | otherwise server can treat such handles opened with older ntcreatex |
