From: Jeff Layton Date: Tue, 11 Oct 2011 10:41:32 +0000 (-0400) Subject: cifs: clean up check_rfc1002_header X-Git-Tag: v3.2-rc1~133^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe11e4ccb8479d92cd2a101d380d332544b84aaa;p=pandora-kernel.git cifs: clean up check_rfc1002_header Rename it for better clarity as to what it does and have the caller pass in just the single type byte. Turn the if statement into a switch and optimize it by placing the most common message type at the top. Move the header length check back into cifs_demultiplex_thread in preparation for adding a new receive phase and normalize the cFYI messages. Signed-off-by: Jeff Layton Signed-off-by: Steve French --- Reading git-diff-tree failed