summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifs_debug.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-10-11 06:41:32 -0400
committerSteve French <smfrench@gmail.com>2011-10-12 23:41:54 -0500
commite831e6cf3acb058d898411367a582deef80e32f8 (patch)
treefc1a919e35b6d495e7010794547f7e7183362cb9 /fs/cifs/cifs_debug.c
parente2218eab2050e879b253ca112aabd5f7167572af (diff)
downloadlinux-stable-e831e6cf3acb058d898411367a582deef80e32f8.tar.gz
linux-stable-e831e6cf3acb058d898411367a582deef80e32f8.tar.bz2
linux-stable-e831e6cf3acb058d898411367a582deef80e32f8.zip
cifs: make smb_msg local to read_from_socket
If msg_controllen is 0, then the socket layer should never touch these fields. Thus, there's no need to continually reset them. Also, there's no need to keep this field on the stack for the demultiplex thread, just make it a local variable in read_from_socket. Signed-off-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/cifs/cifs_debug.c')
0 files changed, 0 insertions, 0 deletions