From: Joel Becker Date: Fri, 29 Jan 2010 23:46:23 +0000 (-0800) Subject: ocfs2: Hang the locking proto on the cluster conn and use it in asts. X-Git-Tag: v2.6.34-rc1~214^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=110946c8fb23c1e1e23312afed0977ad4aa37c95;p=pandora-kernel.git ocfs2: Hang the locking proto on the cluster conn and use it in asts. With the ocfs2_cluster_connection hanging off of the ocfs2_dlm_lksb, we have access to it in the ast and bast wrapper functions. Attach the ocfs2_locking_protocol to the conn. Now, instead of refering to a static variable for ast/bast pointers, the wrappers can look at the connection. This means different connections can have different ast/bast pointers, and it reduces the need for the static pointer. Signed-off-by: Joel Becker --- Reading git-diff-tree failed