From: David Teigland Date: Tue, 9 Dec 2008 17:55:46 +0000 (-0600) Subject: dlm: improve how bast mode handling X-Git-Tag: v2.6.29-rc1~496^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd22a51bcc0b7b76fc729b02316214fd979f9fe1;p=pandora-kernel.git 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 --- Reading git-diff-tree failed