diff options
Diffstat (limited to 'fs/cifs/smb2pdu.c')
-rw-r--r-- | fs/cifs/smb2pdu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/smb2pdu.c b/fs/cifs/smb2pdu.c index 74b3a6684383..8f1672bb82d5 100644 --- a/fs/cifs/smb2pdu.c +++ b/fs/cifs/smb2pdu.c | |||
@@ -1098,6 +1098,8 @@ SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, __le16 *path, | |||
1098 | 1098 | ||
1099 | if (oparms->create_options & CREATE_OPTION_READONLY) | 1099 | if (oparms->create_options & CREATE_OPTION_READONLY) |
1100 | file_attributes |= ATTR_READONLY; | 1100 | file_attributes |= ATTR_READONLY; |
1101 | if (oparms->create_options & CREATE_OPTION_SPECIAL) | ||
1102 | file_attributes |= ATTR_SYSTEM; | ||
1101 | 1103 | ||
1102 | req->ImpersonationLevel = IL_IMPERSONATION; | 1104 | req->ImpersonationLevel = IL_IMPERSONATION; |
1103 | req->DesiredAccess = cpu_to_le32(oparms->desired_access); | 1105 | req->DesiredAccess = cpu_to_le32(oparms->desired_access); |