dlm: fix rcom_names message to self
authorDavid Teigland <teigland@redhat.com>
Thu, 21 Feb 2008 19:39:57 +0000 (13:39 -0600)
committerDavid Teigland <teigland@redhat.com>
Thu, 21 Feb 2008 21:19:54 +0000 (15:19 -0600)
commit599e0f584de8ff16b1428e2e16118757619f1d1b
tree2c7cc24266290200cedf732b8bca28cc1b266583
parente80af3a8dbbbf431b2070cc760699f01c5a6ac69
dlm: fix rcom_names message to self

The recent patch to validate data lengths in rcom_names messages
failed to account for fake messages a node directs to itself before
ever sending it.  In this case we need to fill in the message length
in the header for the validation code to use.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/rcom.c