Skip to content

Commit 3afdfb0

Browse files
author
Steve French
committed
smb3: define missing create contexts
Update the list of create contexts to include the three more recent ones and the one used for mounts to Macs. Reviewed-by: Paulo Alcantara (SUSE) <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 30f8f37 commit 3afdfb0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

fs/smbfs_common/smb2pdu.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,11 @@ struct smb2_change_notify_rsp {
11011101
#define SMB2_CREATE_REQUEST_LEASE "RqLs"
11021102
#define SMB2_CREATE_DURABLE_HANDLE_REQUEST_V2 "DH2Q"
11031103
#define SMB2_CREATE_DURABLE_HANDLE_RECONNECT_V2 "DH2C"
1104-
#define SMB2_CREATE_TAG_POSIX "\x93\xAD\x25\x50\x9C\xB4\x11\xE7\xB4\x23\x83\xDE\x96\x8B\xCD\x7C"
1104+
#define SMB2_CREATE_TAG_POSIX "\x93\xAD\x25\x50\x9C\xB4\x11\xE7\xB4\x23\x83\xDE\x96\x8B\xCD\x7C"
1105+
#define SMB2_CREATE_APP_INSTANCE_ID "\x45\xBC\xA6\x6A\xEF\xA7\xF7\x4A\x90\x08\xFA\x46\x2E\x14\x4D\x74"
1106+
#define SMB2_CREATE_APP_INSTANCE_VERSION "\xB9\x82\xD0\xB7\x3B\x56\x07\x4F\xA0\x7B\x52\x4A\x81\x16\xA0\x10"
1107+
#define SVHDX_OPEN_DEVICE_CONTEXT "\x9C\xCB\xCF\x9E\x04\xC1\xE6\x43\x98\x0E\x15\x8D\xA1\xF6\xEC\x83"
1108+
#define SMB2_CREATE_TAG_AAPL "AAPL"
11051109

11061110
/* Flag (SMB3 open response) values */
11071111
#define SMB2_CREATE_FLAG_REPARSEPOINT 0x01

0 commit comments

Comments
 (0)