From: Jeff Layton Date: Tue, 11 Oct 2011 10:41:32 +0000 (-0400) Subject: cifs: make smb_msg local to read_from_socket X-Git-Tag: v3.2-rc1~133^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e831e6cf3acb058d898411367a582deef80e32f8;p=pandora-kernel.git 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 Signed-off-by: Steve French --- Reading git-diff-tree failed