aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/stack_user.c
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2007-11-28 17:38:40 -0500
committerMark Fasheh <mfasheh@suse.com>2008-04-18 11:56:06 -0400
commit8adf0536c9fb578a8542dcf81104d3438a5287e4 (patch)
tree6114a79f12b292792b638dc39e1b0b004c26ee8e /fs/ocfs2/stack_user.c
parent9c6c877c04ce17d76a35d2173d3a3840d6b796a2 (diff)
ocfs2: Add the user stack module.
Add a skeleton for the stack_user module. It's just the barebones module code. Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/stack_user.c')
-rw-r--r--fs/ocfs2/stack_user.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c
new file mode 100644
index 000000000000..920eb1111b66
--- /dev/null
+++ b/fs/ocfs2/stack_user.c
@@ -0,0 +1,38 @@
1/* -*- mode: c; c-basic-offset: 8; -*-
2 * vim: noexpandtab sw=8 ts=8 sts=0:
3 *
4 * stack_user.c
5 *
6 * Code which interfaces ocfs2 with fs/dlm and a userspace stack.
7 *
8 * Copyright (C) 2007 Oracle. All rights reserved.
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public
12 * License as published by the Free Software Foundation, version 2.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * General Public License for more details.
18 */
19
20#include <linux/module.h>
21
22#include "stackglue.h"
23
24
25static int __init user_stack_init(void)
26{
27 return 0;
28}
29
30static void __exit user_stack_exit(void)
31{
32}
33
34MODULE_AUTHOR("Oracle");
35MODULE_DESCRIPTION("ocfs2 driver for userspace cluster stacks");
36MODULE_LICENSE("GPL");
37module_init(user_stack_init);
38module_exit(user_stack_exit);