]> git.baikalelectronics.ru Git - kernel.git/commit
dlm: save master info after failed no-queue request
authorDavid Teigland <teigland@redhat.com>
Thu, 21 Feb 2008 17:25:42 +0000 (11:25 -0600)
committerDavid Teigland <teigland@redhat.com>
Mon, 21 Apr 2008 16:18:01 +0000 (11:18 -0500)
commitca78ef47566ca23841494410f95e8c998ac9f8ba
tree07dcab128761847c008b589bf367715f2fcd60b0
parentb042824574894ed131b533502d58fb4a754b342c
dlm: save master info after failed no-queue request

When a NOQUEUE request fails, the rsb res_master field is unnecessarily
reset to -1, instead of leaving the valid master setting in place.  We
want to save the looked-up master values while the rsb is on the "toss
list" so that another lookup can be avoided if the rsb is soon reused.
The fix is to simply leave res_master value alone.

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