aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/file.c
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2005-06-23 20:31:17 -0400
committerSteve French <sfrench@us.ibm.com>2005-06-23 20:31:17 -0400
commit0c0ff09329dafb165c0d9ac08965ddc0615020b1 (patch)
tree19b4cf11057b8cc740382c7d2c63b84538d45819 /fs/cifs/file.c
parent45abc6ee2b916a235d6824a41225177bd6e5e24f (diff)
[CIFS] Performance improvement, finish up adding CIFSSMBWrite2
Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/file.c')
-rw-r--r--fs/cifs/file.c7
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,