dlm: don't overwrite castparam if it's NULL
PATCH 1/1 dlm: don't overwrite castparam if it's NULL
If the castaddr passed to the userland API is NULL then don't overwrite the existing castparam. This allows a different thread to cancel a lock request and the CANCEL AST gets delivered to the original thread.
bz#306391 (for RHEL4) refers.
Patrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: castparam-upstream.patch
Type: text/x-patch
Size: 823 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/cluster-devel/attachments/20071001/a7b8bf7d/attachment.bin>
PATCH 1/1 dlm: don't overwrite castparam if it's NULL
Hi,
Now in the -nmw git tree. Thanks,
Steve.
Quoted 9 lines · Patrick Caulfield
If the castaddr passed to the userland API is NULL then don't overwrite the existing castparam. This allows a different thread to cancel a lock request and the CANCEL AST gets delivered to the original thread.
bz#306391 (for RHEL4) refers.
Signed-off-by Patrick Caulfield <[email protected]>Patrick