diff options
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r-- | fs/cifs/file.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/fs/cifs/file.c b/fs/cifs/file.c index f55c0c7aeeb0..ddb25a0a63d5 100644 --- a/fs/cifs/file.c +++ b/fs/cifs/file.c | |||
@@ -845,11 +845,10 @@ static ssize_t cifs_write(struct file *file, const char *write_data, | |||
845 | if (rc != 0) | 845 | if (rc != 0) |
846 | break; | 846 | break; |
847 | } | 847 | } |
848 | #ifdef CIFS_EXPERIMENTAL | 848 | #ifdef CONFIG_CIFS_EXPERIMENTAL |
849 | /* BB FIXME We can not sign across two buffers yet */ | 849 | /* BB FIXME We can not sign across two buffers yet */ |
850 | cERROR(1,("checking signing")); /* BB removeme BB */ | 850 | if((experimEnabled) && ((pTcon->ses->server->secMode & |
851 | if(pTcon->ses->server->secMode & | 851 | (SECMODE_SIGN_REQUIRED | SECMODE_SIGN_ENABLED)) == 0)) { |
852 | (SECMODE_SIGN_REQUIRED | SECMODE_SIGN_ENABLED) == 0) | ||
853 | rc = CIFSSMBWrite2(xid, pTcon, | 852 | rc = CIFSSMBWrite2(xid, pTcon, |
854 | open_file->netfid, | 853 | open_file->netfid, |
855 | min_t(const int, cifs_sb->wsize, | 854 | min_t(const int, cifs_sb->wsize, |