summaryrefslogtreecommitdiffstats
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2008-12-09 18:55:46 +0100
committerDavid Teigland <teigland@redhat.com>2008-12-23 17:16:46 +0100
commitfd22a51bcc0b7b76fc729b02316214fd979f9fe1 (patch)
treee23326bb9df7cf0ee76b3b6b61c82364ff0aed78 /fs/dlm/dlm_internal.h
parentdlm: remove extra blocking callback check (diff)
downloadlinux-fd22a51bcc0b7b76fc729b02316214fd979f9fe1.tar.xz
linux-fd22a51bcc0b7b76fc729b02316214fd979f9fe1.zip
dlm: improve how bast mode handling
The lkb bastmode value is set in the context of processing the lock, and read by the dlm_astd thread. Because it's accessed in these two separate contexts, the writing/reading ought to be done under a lock. This is simple to do by setting it and reading it when the lkb is added to and removed from dlm_astd's callback list which is properly locked. Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
0 files changed, 0 insertions, 0 deletions