diff options
author | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2014-03-07 11:21:15 -0600 |
---|---|---|
committer | Goldwyn Rodrigues <rgoldwyn@suse.com> | 2015-02-23 07:28:42 -0600 |
commit | 8e854e9cfd1cc3837b4bd96643d5174a72d9f741 (patch) | |
tree | 9530b9ccba292e172918faf4a80b2cc55cab6b11 /drivers/md/md-cluster.c | |
parent | 183bdf5106af069a774146c4f910a80ad1f57485 (diff) | |
download | op-kernel-dev-8e854e9cfd1cc3837b4bd96643d5174a72d9f741.zip op-kernel-dev-8e854e9cfd1cc3837b4bd96643d5174a72d9f741.tar.gz |
Create a separate module for clustering support
Tagged as EXPERIMENTAL for now.
Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Diffstat (limited to 'drivers/md/md-cluster.c')
-rw-r--r-- | drivers/md/md-cluster.c | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/drivers/md/md-cluster.c b/drivers/md/md-cluster.c new file mode 100644 index 0000000..f377e71 --- /dev/null +++ b/drivers/md/md-cluster.c @@ -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"); |