Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27019
b: refs/heads/master
c: c01f36a
h: refs/heads/master
i:
  27017: 8f2b6bb
  27015: ae8a605
v: v3
  • Loading branch information
Steve French committed May 30, 2006
1 parent f003a77 commit 66c9957
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a878fb2218c87fe66f2bcf3914840e24c41338f7
refs/heads/master: c01f36a896cb11e8533b4f7c132a1722fb15102b
6 changes: 4 additions & 2 deletions trunk/fs/cifs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,10 @@ static ssize_t cifs_write(struct file *file, const char *write_data,
if (rc != 0)
break;
}
if(experimEnabled || (pTcon->ses->server->secMode &
(SECMODE_SIGN_REQUIRED | SECMODE_SIGN_ENABLED)) == 0) {
if(experimEnabled || (pTcon->ses->server &&
(pTcon->ses->server->secMode &
(SECMODE_SIGN_REQUIRED | SECMODE_SIGN_ENABLED)
== 0))) {
struct kvec iov[2];
unsigned int len;

Expand Down

0 comments on commit 66c9957

Please sign in to comment.