From: Jeff Layton Date: Wed, 10 Feb 2010 21:18:26 +0000 (-0500) Subject: cifs: increase maximum buffer size in CIFSSMBQAllEAs X-Git-Tag: v3.0~5893^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e529614ad0c2bf1f3a6fcf1402aa77430ecfaa2c;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Steve French --- diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c index f5e1527..4f24f83 100644 --- a/fs/cifs/cifssmb.c +++ b/fs/cifs/cifssmb.c @@ -5310,7 +5310,7 @@ QAllEAsRetry: pSMB->TotalDataCount = 0; pSMB->MaxParameterCount = cpu_to_le16(2); /* BB find exact max SMB PDU from sess structure BB */ - pSMB->MaxDataCount = cpu_to_le16(4000); + pSMB->MaxDataCount = cpu_to_le16(CIFSMaxBufSize); pSMB->MaxSetupCount = 0; pSMB->Reserved = 0; pSMB->Flags = 0;