ocfs2: Remove the ast pointers from ocfs2_stack_plugins
authorJoel Becker <joel.becker@oracle.com>
Sat, 30 Jan 2010 00:06:29 +0000 (16:06 -0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:16 +0000 (15:41 -0800)
With the full ocfs2_locking_protocol hanging off of the
ocfs2_cluster_connection, ast wrappers can get the ast/bast pointers
there.  They don't need to get them from their plugin structure.

The user plugin still needs the maximum locking protocol version,
though.  This changes the plugin structure so that it only holds the max
version, not the entire ocfs2_locking_protocol pointer.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/stack_user.c
fs/ocfs2/stackglue.c
fs/ocfs2/stackglue.h

Simple merge
Simple merge
Simple merge