Whamcloud - gitweb
- Removes duplicate fsfilt files, which must have snuck back in during
authorphil <phil>
Mon, 8 Sep 2003 03:19:44 +0000 (03:19 +0000)
committerphil <phil>
Mon, 8 Sep 2003 03:19:44 +0000 (03:19 +0000)
  our branch shuffle
- Adds the llog_test stub, which I'll start filling in

lustre/obdclass/llog_test.c [new file with mode: 0644]

diff --git a/lustre/obdclass/llog_test.c b/lustre/obdclass/llog_test.c
new file mode 100644 (file)
index 0000000..3c289f6
--- /dev/null
@@ -0,0 +1,50 @@
+/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
+ * vim:expandtab:shiftwidth=8:tabstop=8:
+ *
+ *  Copyright (C) 2003 Cluster File Systems, Inc.
+ *   Author: Phil Schwan <phil@clusterfs.com>
+ *
+ *   This file is part of Lustre, http://www.lustre.org/
+ *
+ *   Lustre is free software; you can redistribute it and/or
+ *   modify it under the terms of version 2 of the GNU General Public
+ *   License as published by the Free Software Foundation.
+ *
+ *   Lustre 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.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with Lustre; if not, write to the Free Software
+ *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ * A kernel module which tests the llog API from the init_module function.
+ * If successful, the module is loaded.  If unsuccessful, insmod will return
+ * an error.
+ */
+
+#ifndef EXPORT_SYMTAB
+# define EXPORT_SYMTAB
+#endif
+#define DEBUG_SUBSYSTEM S_CLASS
+
+#include <linux/module.h>
+#include <linux/init.h>
+
+static int __init llog_test_init(void)
+{
+
+        return 0;
+}
+
+static void __exit llog_test_exit(void)
+{
+}
+
+MODULE_AUTHOR("Cluster File Systems, Inc. <info@clusterfs.com>");
+MODULE_DESCRIPTION("llog test module");
+MODULE_LICENSE("GPL");
+
+module_init(llog_test_init);
+module_exit(llog_test_exit);