[DLM] fix receive_request() lvb copying
authorDavid Teigland <teigland@redhat.com>
Wed, 13 Dec 2006 16:39:20 +0000 (10:39 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:35:59 +0000 (13:35 -0500)
commit8d07fd509e9c82a59e37b8b18a2fd0e8ef8fc837
tree165b88e0208e00301a5069507e84df597d636de8
parentda49f36f4f64feb281d7663be99e779b2aecc607
[DLM] fix receive_request() lvb copying

LVB's are not sent as part of new requests, but the code receiving the
request was copying data into the lvb anyway.  The space in the message
where it mistakenly thought the lvb lived actually contained the resource
name, so it wound up incorrectly copying this name data into the lvb.  Fix
is to just create the lvb, not copy junk into it.

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/lock.c