Skip to content
Commit 110946c8 authored by Joel Becker's avatar Joel Becker
Browse files

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: default avatarJoel Becker <joel.becker@oracle.com>
parent c0e41338
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment