commit | e831e6cf3acb058d898411367a582deef80e32f8 | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Tue Oct 11 06:41:32 2011 -0400 |
committer | Steve French <smfrench@gmail.com> | Wed Oct 12 23:41:54 2011 -0500 |
tree | fc1a919e35b6d495e7010794547f7e7183362cb9 | |
parent | e2218eab2050e879b253ca112aabd5f7167572af [diff] |
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>