diff options
author | Steve French <sfrench@us.ibm.com> | 2005-08-19 11:04:29 -0700 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2005-08-19 11:04:29 -0700 |
commit | d3485d37c0b3292aec0618b6663c57542df5da99 (patch) | |
tree | ad841f90fdcd0549874eaf42fc048fbf85de645a /fs/cifs/misc.c | |
parent | c46fa8acdc533e8084359ea11c79d56eb98313fb (diff) | |
download | kernel-common-d3485d37c0b3292aec0618b6663c57542df5da99.tar.gz kernel-common-d3485d37c0b3292aec0618b6663c57542df5da99.tar.bz2 kernel-common-d3485d37c0b3292aec0618b6663c57542df5da99.zip |
[CIFS] Finish cifs mount option which requests case insensitive path
name matching.
Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/misc.c')
-rw-r--r-- | fs/cifs/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/misc.c b/fs/cifs/misc.c index beeff8284169..40d50b77bfe7 100644 --- a/fs/cifs/misc.c +++ b/fs/cifs/misc.c @@ -375,6 +375,8 @@ header_assemble(struct smb_hdr *buffer, char smb_command /* command */ , } if (treeCon->Flags & SMB_SHARE_IS_IN_DFS) buffer->Flags2 |= SMBFLG2_DFS; + if (treeCon->nocase) + buffer->Flags |= SMBFLG_CASELESS; if((treeCon->ses) && (treeCon->ses->server)) if(treeCon->ses->server->secMode & (SECMODE_SIGN_REQUIRED | SECMODE_SIGN_ENABLED)) |