From: Joel Becker <joel.becker@oracle.com>
To: ocfs2-devel@oss.oracle.com
Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 01/10] ocfs2: Add the user stack module.
Date: Wed, 5 Mar 2008 17:13:49 -0800 [thread overview]
Message-ID: <1204766038-31721-2-git-send-email-joel.becker@oracle.com> (raw)
In-Reply-To: <1204766038-31721-1-git-send-email-joel.becker@oracle.com>
Add a skeleton for the stack_user module. It's just the barebones module
code.
Signed-off-by: Joel Becker <joel.becker@oracle.com>
---
fs/ocfs2/stack_user.c | 38 ++++++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
create mode 100644 fs/ocfs2/stack_user.c
diff --git a/fs/ocfs2/stack_user.c b/fs/ocfs2/stack_user.c
new file mode 100644
index 0000000..920eb11
--- /dev/null
+++ b/fs/ocfs2/stack_user.c
@@ -0,0 +1,38 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * stack_user.c
+ *
+ * Code which interfaces ocfs2 with fs/dlm and a userspace stack.
+ *
+ * Copyright (C) 2007 Oracle. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License as published by the Free Software Foundation, version 2.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ */
+
+#include <linux/module.h>
+
+#include "stackglue.h"
+
+
+static int __init user_stack_init(void)
+{
+ return 0;
+}
+
+static void __exit user_stack_exit(void)
+{
+}
+
+MODULE_AUTHOR("Oracle");
+MODULE_DESCRIPTION("ocfs2 driver for userspace cluster stacks");
+MODULE_LICENSE("GPL");
+module_init(user_stack_init);
+module_exit(user_stack_exit);
--
1.5.3.8
next prev parent reply other threads:[~2008-03-06 1:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-06 1:13 [PATCH 0/10] ocfs2: Userspace cluster stack support Joel Becker
2008-03-06 1:13 ` Joel Becker [this message]
2008-03-06 1:13 ` [PATCH 02/10] ocfs2: Add the ocfs2_control misc device Joel Becker
2008-03-06 1:13 ` [PATCH 03/10] ocfs2: Start the ocfs2_control handshake Joel Becker
2008-03-06 1:13 ` [PATCH 04/10] ocfs2: Introduce the DOWN message to ocfs2_control Joel Becker
2008-03-06 1:13 ` [PATCH 05/10] ocfs2: Add the local node id to the handshake Joel Becker
2008-03-06 1:13 ` [PATCH 06/10] ocfs2: Add the 'set version' message to the ocfs2_control device Joel Becker
2008-03-06 1:13 ` [PATCH 07/10] ocfs2: add fsdlm to stackglue Joel Becker
2008-03-06 1:13 ` [PATCH 08/10] ocfs2: Change mlog_bug_on to BUG_ON in ocfs2_lockid.h Joel Becker
2008-03-06 1:13 ` [PATCH 09/10] ocfs2: Add kbuild for ocfs2_stack_user.ko Joel Becker
2008-03-06 1:13 ` [PATCH 10/10] ocfs2: Allow selection of cluster plug-ins Joel Becker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1204766038-31721-2-git-send-email-joel.becker@oracle.com \
--to=joel.becker@oracle.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).