diff options
author | Joel Becker <joel.becker@oracle.com> | 2010-01-30 04:19:06 +0300 |
---|---|---|
committer | Joel Becker <joel.becker@oracle.com> | 2010-02-27 02:41:17 +0300 |
commit | 553b5eb91abd5f8e679d23ae547b92c589726814 (patch) | |
tree | 99b3e550a11b0d62d45bbc78d73d448acadd138a /net | |
parent | e603cfb074e150736814ef093a411df32c02ba9f (diff) | |
download | linux-553b5eb91abd5f8e679d23ae547b92c589726814.tar.xz |
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 <joel.becker@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions