From: Joel Becker Date: Sat, 30 Jan 2010 01:19:06 +0000 (-0800) Subject: ocfs2: Pass the locking protocol into ocfs2_cluster_connect(). X-Git-Tag: v2.6.34-rc1~214^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=553b5eb91abd5f8e679d23ae547b92c589726814;p=pandora-kernel.git ocfs2: Pass the locking protocol into ocfs2_cluster_connect(). Inside the stackglue, the locking protocol structure is hanging off of the ocfs2_cluster_connection. This takes it one further; the locking protocol is passed into ocfs2_cluster_connect(). Now different cluster connections can have different locking protocols with distinct asts. Note that all locking protocols have to keep their maximum protocol version in lock-step. With the protocol structure set in ocfs2_cluster_connect(), there is no need for the stackglue to have a static pointer to a specific protocol structure. We can change initialization to only pass in the maximum protocol version. Signed-off-by: Joel Becker --- Reading git-diff-tree failed