diff options
author | Joel Becker <joel.becker@oracle.com> | 2008-01-30 19:58:36 -0500 |
---|---|---|
committer | Mark Fasheh <mfasheh@suse.com> | 2008-04-18 11:56:05 -0400 |
commit | 63e0c48ae6986a5bbb8e8dd9210c0e6ca79f2e50 (patch) | |
tree | 761be605ec94525d51ad09074bc70a2f9ddb2537 /fs/ocfs2/super.c | |
parent | cf0acdcd640e9466059e69951c557e90b4bee45a (diff) |
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/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index fa9c46e2eab8..b4a02a00665d 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -922,8 +922,6 @@ static int __init ocfs2_init(void) | |||
922 | 922 | ||
923 | ocfs2_print_version(); | 923 | ocfs2_print_version(); |
924 | 924 | ||
925 | dlmglue_init_stack(); | ||
926 | |||
927 | status = init_ocfs2_uptodate_cache(); | 925 | status = init_ocfs2_uptodate_cache(); |
928 | if (status < 0) { | 926 | if (status < 0) { |
929 | mlog_errno(status); | 927 | mlog_errno(status); |
@@ -948,6 +946,8 @@ static int __init ocfs2_init(void) | |||
948 | mlog(ML_ERROR, "Unable to create ocfs2 debugfs root.\n"); | 946 | mlog(ML_ERROR, "Unable to create ocfs2 debugfs root.\n"); |
949 | } | 947 | } |
950 | 948 | ||
949 | ocfs2_set_locking_protocol(); | ||
950 | |||
951 | leave: | 951 | leave: |
952 | if (status < 0) { | 952 | if (status < 0) { |
953 | ocfs2_free_mem_caches(); | 953 | ocfs2_free_mem_caches(); |
@@ -979,8 +979,6 @@ static void __exit ocfs2_exit(void) | |||
979 | 979 | ||
980 | exit_ocfs2_uptodate_cache(); | 980 | exit_ocfs2_uptodate_cache(); |
981 | 981 | ||
982 | dlmglue_exit_stack(); | ||
983 | |||
984 | mlog_exit_void(); | 982 | mlog_exit_void(); |
985 | } | 983 | } |
986 | 984 | ||