diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-02-10 16:18:26 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-02-23 15:46:49 -0500 |
commit | e529614ad0c2bf1f3a6fcf1402aa77430ecfaa2c (patch) | |
tree | 94b5ddd47e5abf3747eeb32b14c7ad30f24fd37e /fs/cifs | |
parent | 6e462b9f2c37101312109aaa46e196bdca6c846d (diff) |
cifs: increase maximum buffer size in CIFSSMBQAllEAs
It's 4000 now, but there's no reason to limit it to that. We should be
able to handle a response up to CIFSMaxBufSize.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs')
-rw-r--r-- | fs/cifs/cifssmb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index f5e15279ea29..4f24f83ce623 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c | |||
@@ -5310,7 +5310,7 @@ QAllEAsRetry: | |||
5310 | pSMB->TotalDataCount = 0; | 5310 | pSMB->TotalDataCount = 0; |
5311 | pSMB->MaxParameterCount = cpu_to_le16(2); | 5311 | pSMB->MaxParameterCount = cpu_to_le16(2); |
5312 | /* BB find exact max SMB PDU from sess structure BB */ | 5312 | /* BB find exact max SMB PDU from sess structure BB */ |
5313 | pSMB->MaxDataCount = cpu_to_le16(4000); | 5313 | pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize); |
5314 | pSMB->MaxSetupCount = 0; | 5314 | pSMB->MaxSetupCount = 0; |
5315 | pSMB->Reserved = 0; | 5315 | pSMB->Reserved = 0; |
5316 | pSMB->Flags = 0; | 5316 | pSMB->Flags = 0; |