• Joel Becker's avatar
    ocfs2: Hang the locking proto on the cluster conn and use it in asts. · 110946c8
    Joel Becker authored
    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>
    110946c8
stack_o2cb.c 9.79 KB