-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Joel Becker
authored and
Mark Fasheh
committed
Apr 18, 2008
1 parent
9c6c877
commit 8adf053
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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); |