]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[DLM] don't overwrite castparam if it's NULL
authorPatrick Caulfield <pcaulfie@redhat.com>
Mon, 1 Oct 2007 14:28:42 +0000 (15:28 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Oct 2007 07:56:36 +0000 (08:56 +0100)
commitb434eda6fda5bcdcc2dd918e5ffbf7184f2d4e17
treee1931dffbbf294fe1d087e9215ee7143517636e2
parent5a60c532c9224babc172fafccc9e2fec6937af6f
[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.

Signed-Off-By: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/lock.c