summaryrefslogtreecommitdiffstats
path: root/fs/hugetlbfs
diff options
context:
space:
mode:
authorJeff Layton <jlayton@redhat.com>2011-10-11 12:41:32 +0200
committerSteve French <smfrench@gmail.com>2011-10-14 01:44:40 +0200
commitfe11e4ccb8479d92cd2a101d380d332544b84aaa (patch)
tree626e286d6451a26ea07c8fdb89cb23eb1dca0111 /fs/hugetlbfs
parentCIFS: Simplify byte range locking code (diff)
downloadlinux-fe11e4ccb8479d92cd2a101d380d332544b84aaa.tar.xz
linux-fe11e4ccb8479d92cd2a101d380d332544b84aaa.zip
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 <jlayton@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com>
Diffstat (limited to 'fs/hugetlbfs')
0 files changed, 0 insertions, 0 deletions