-
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.
Create a separate module for clustering support
Tagged as EXPERIMENTAL for now. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
- Loading branch information
Goldwyn Rodrigues
committed
Feb 23, 2015
1 parent
183bdf5
commit 8e854e9
Showing
3 changed files
with
45 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
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
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,28 @@ | ||
/* | ||
* Copyright (C) 2015, SUSE | ||
* | ||
* 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; either version 2, or (at your option) | ||
* any later version. | ||
* | ||
*/ | ||
|
||
|
||
#include <linux/module.h> | ||
|
||
static int __init cluster_init(void) | ||
{ | ||
pr_warn("md-cluster: EXPERIMENTAL. Use with caution\n"); | ||
pr_info("Registering Cluster MD functions\n"); | ||
return 0; | ||
} | ||
|
||
static void cluster_exit(void) | ||
{ | ||
} | ||
|
||
module_init(cluster_init); | ||
module_exit(cluster_exit); | ||
MODULE_LICENSE("GPL"); | ||
MODULE_DESCRIPTION("Clustering support for MD"); |