dlm: dlm_process_incoming_buffer() fixes
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 25 Jan 2008 05:58:46 +0000 (00:58 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 4 Feb 2008 07:22:42 +0000 (01:22 -0600)
commiteef7d739c218cb2546cf95686db77de0d76e4122
tree4d6c0e65e8aff1afb2c6428c729a98274ccb1a6d
parent8b0d8e03f847d9c1677b8a193cd124debbc54633
dlm: dlm_process_incoming_buffer() fixes

* check that length is large enough to cover the non-variable part of message or
  rcom resp. (after checking that it's large enough to cover the header, of
  course).

* kill more pointless casts

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dlm_internal.h
fs/dlm/lock.c
fs/dlm/lock.h
fs/dlm/midcomms.c