summaryrefslogtreecommitdiffstats
path: root/fs/cifs/misc.c
diff options
context:
space:
mode:
authorJeff Layton2011-10-11 12:41:32 +0200
committerSteve French2011-10-13 06:41:32 +0200
commitc974befa402b5eb2ed115b3083b5a46a4be85a9f (patch)
tree88c5835981e1e306248b9f9c4662510ff5b8d5e1 /fs/cifs/misc.c
parentcifs: Fix typo 'CIFS_NFSD_EXPORT' (diff)
downloadkernel-qcow2-linux-c974befa402b5eb2ed115b3083b5a46a4be85a9f.tar.gz
kernel-qcow2-linux-c974befa402b5eb2ed115b3083b5a46a4be85a9f.tar.xz
kernel-qcow2-linux-c974befa402b5eb2ed115b3083b5a46a4be85a9f.zip
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 <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/misc.c')
0 files changed, 0 insertions, 0 deletions