]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/ocfs2/super.c
ocfs2: Clean up stackglue initialization
[linux-2.6-omap-h63xx.git] / fs / ocfs2 / super.c
index fa9c46e2eab8888d0e6640876d24f224a29aedd7..b4a02a00665dbf28d163f27674a479905d298563 100644 (file)
@@ -922,8 +922,6 @@ static int __init ocfs2_init(void)
 
        ocfs2_print_version();
 
-       dlmglue_init_stack();
-
        status = init_ocfs2_uptodate_cache();
        if (status < 0) {
                mlog_errno(status);
@@ -948,6 +946,8 @@ static int __init ocfs2_init(void)
                mlog(ML_ERROR, "Unable to create ocfs2 debugfs root.\n");
        }
 
+       ocfs2_set_locking_protocol();
+
 leave:
        if (status < 0) {
                ocfs2_free_mem_caches();
@@ -979,8 +979,6 @@ static void __exit ocfs2_exit(void)
 
        exit_ocfs2_uptodate_cache();
 
-       dlmglue_exit_stack();
-
        mlog_exit_void();
 }