main.c (e9fc2aa091ab8fa46e60d4c9d06a89305c441652) main.c (5029996547a9f3988459e11955c13259495308ef)
1/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
4 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License version 2.
8 */

--- 51 unchanged lines hidden (view full) ---

60 *
61 * Returns: 0 on success, error code on failure
62 */
63
64static int __init init_gfs2_fs(void)
65{
66 int error;
67
1/*
2 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
3 * Copyright (C) 2004-2006 Red Hat, Inc. All rights reserved.
4 *
5 * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
7 * of the GNU General Public License version 2.
8 */

--- 51 unchanged lines hidden (view full) ---

60 *
61 * Returns: 0 on success, error code on failure
62 */
63
64static int __init init_gfs2_fs(void)
65{
66 int error;
67
68 gfs2_init_lmh();
69
70 error = gfs2_sys_init();
71 if (error)
72 return error;
73
74 error = -ENOMEM;
75
76 gfs2_glock_cachep = kmem_cache_create("gfs2_glock",
77 sizeof(struct gfs2_glock),

--- 71 unchanged lines hidden ---
68 error = gfs2_sys_init();
69 if (error)
70 return error;
71
72 error = -ENOMEM;
73
74 gfs2_glock_cachep = kmem_cache_create("gfs2_glock",
75 sizeof(struct gfs2_glock),

--- 71 unchanged lines hidden ---