[DLM] down conversion clearing flags
authorDavid Teigland <teigland@redhat.com>
Wed, 23 Aug 2006 20:07:31 +0000 (16:07 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 23 Aug 2006 20:07:31 +0000 (16:07 -0400)
commit32f105a123804c7882d447f013aeb3530b4d63c0
tree8e8006aa63fc31290d3cd1bc5e93b9cd3f9580d7
parentc059f70e357af1adcfc1a9294e44cdd945adb841
[DLM] down conversion clearing flags

The down-conversion optimization was resulting in the lkb flags being
cleared because the stub message reply had no flags value set.  Copy the
current flags into the stub message so they'll be copied back into the lkb
as part of processing the fake reply.  Also add an assertion to catch this
error more directly if it exists elsewhere.

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