aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/stackglue.h
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2010-01-29 19:06:29 -0500
committerJoel Becker <joel.becker@oracle.com>2010-02-26 18:41:16 -0500
commite603cfb074e150736814ef093a411df32c02ba9f (patch)
treebb659e2ed6462e9686507f77edc2c7750044f294 /fs/ocfs2/stackglue.h
parent110946c8fb23c1e1e23312afed0977ad4aa37c95 (diff)
ocfs2: Remove the ast pointers from ocfs2_stack_plugins
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>
Diffstat (limited to 'fs/ocfs2/stackglue.h')
-rw-r--r--fs/ocfs2/stackglue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/stackglue.h b/fs/ocfs2/stackglue.h
index cf8bac23ae09..77a7a9aeba73 100644
--- a/fs/ocfs2/stackglue.h
+++ b/fs/ocfs2/stackglue.h
@@ -233,7 +233,7 @@ struct ocfs2_stack_plugin {
233 /* These are managed by the stackglue code. */ 233 /* These are managed by the stackglue code. */
234 struct list_head sp_list; 234 struct list_head sp_list;
235 unsigned int sp_count; 235 unsigned int sp_count;
236 struct ocfs2_locking_protocol *sp_proto; 236 struct ocfs2_protocol_version sp_max_proto;
237}; 237};
238 238
239 239