From: Jeff Layton Date: Tue, 11 Oct 2011 10:41:32 +0000 (-0400) Subject: cifs: untangle server->maxBuf and CIFSMaxBufSize X-Git-Tag: v3.2-rc1~133^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c974befa402b5eb2ed115b3083b5a46a4be85a9f;p=pandora-kernel.git cifs: untangle server->maxBuf and CIFSMaxBufSize server->maxBuf is the maximum SMB size (including header) that the server can handle. CIFSMaxBufSize is the maximum amount of data (sans header) that the client can handle. Currently maxBuf is being capped at CIFSMaxBufSize + the max headers size, and the two values are used somewhat interchangeably in the code. This makes little sense as these two values are not related at all. Separate them and make sure the code uses the right values in the right places. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed