]> git.karo-electronics.de Git - linux-beck.git/commit
[DLM] fix size of STATUS_REPLY message
authorDavid Teigland <teigland@redhat.com>
Mon, 27 Nov 2006 19:18:41 +0000 (13:18 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 30 Nov 2006 15:37:08 +0000 (10:37 -0500)
commit1babdb453138f17b8ed3d1d5711089c4e2fa5ace
treecff82b8349a633cbf770b13522fb180d39f163c2
parentaed3255f2267e2d1d95b9cf7f2995ce24e6c873b
[DLM] fix size of STATUS_REPLY message

When the not_ready routine sends a "fake" status reply with blank status
flags, it needs to use the correct size for a normal STATUS_REPLY by
including the size of the would-be config parameters.  We also fill in the
non-existant config parameters with an invalid lvblen value so it's easier
to notice if these invalid paratmers are ever being used.

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