diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-01-31 01:58:36 +0100 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-04-18 17:56:05 +0200 |
commit | 63e0c48ae6986a5bbb8e8dd9210c0e6ca79f2e50 (patch) | |
tree | 761be605ec94525d51ad09074bc70a2f9ddb2537 /fs/ocfs2/stackglue.c | |
parent | ocfs2: Abstract out a debugging function for underlying dlms. (diff) | |
download | linux-63e0c48ae6986a5bbb8e8dd9210c0e6ca79f2e50.tar.xz linux-63e0c48ae6986a5bbb8e8dd9210c0e6ca79f2e50.zip |
ocfs2: Clean up stackglue initialization
The stack glue initialization function needs a better name so that it can be
used cleanly when stackglue becomes a module.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/stackglue.c')
-rw-r--r-- | fs/ocfs2/stackglue.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/fs/ocfs2/stackglue.c b/fs/ocfs2/stackglue.c index bd805411a856..51c2546b328d 100644 --- a/fs/ocfs2/stackglue.c +++ b/fs/ocfs2/stackglue.c @@ -429,14 +429,10 @@ int ocfs2_cluster_this_node(unsigned int *node) return 0; } -void o2cb_get_stack(struct ocfs2_locking_protocol *proto) +void ocfs2_stack_glue_set_locking_protocol(struct ocfs2_locking_protocol *proto) { - BUG_ON(proto == NULL); + BUG_ON(proto != NULL); lproto = proto; } -void o2cb_put_stack(void) -{ - lproto = NULL; -} |