aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/Makefile
diff options
context:
space:
mode:
authorJoel Becker <joel.becker@oracle.com>2008-02-01 18:03:57 -0500
committerMark Fasheh <mfasheh@suse.com>2008-04-18 11:56:05 -0400
commit286eaa95c5c5915a6b72cc3f0a2534161fd7928b (patch)
treedce03b619389cc5b5e2508b30ca3e1411401cf4e /fs/ocfs2/Makefile
parente3dad42bf993a0f24eb6e46152356c9b119c15e8 (diff)
ocfs2: Break out stackglue into modules.
We define the ocfs2_stack_plugin structure to represent a stack driver. The o2cb stack code is split into stack_o2cb.c. This becomes the ocfs2_stack_o2cb.ko module. The stackglue generic functions are similarly split into the ocfs2_stackglue.ko module. This module now provides an interface to register drivers. The ocfs2_stack_o2cb driver registers itself. As part of this interface, ocfs2_stackglue can load drivers on demand. This is accomplished in ocfs2_cluster_connect(). ocfs2_cluster_disconnect() is now notified when a _hangup() is pending. If a hangup is pending, it will not release the driver module and will let _hangup() do that. Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/Makefile')
-rw-r--r--fs/ocfs2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/ocfs2/Makefile b/fs/ocfs2/Makefile
index 8e86195fedbf..b734254329b2 100644
--- a/fs/ocfs2/Makefile
+++ b/fs/ocfs2/Makefile
@@ -2,7 +2,7 @@ EXTRA_CFLAGS += -Ifs/ocfs2
2 2
3EXTRA_CFLAGS += -DCATCH_BH_JBD_RACES 3EXTRA_CFLAGS += -DCATCH_BH_JBD_RACES
4 4
5obj-$(CONFIG_OCFS2_FS) += ocfs2.o 5obj-$(CONFIG_OCFS2_FS) += ocfs2.o ocfs2_stackglue.o ocfs2_stack_o2cb.o
6 6
7ocfs2-objs := \ 7ocfs2-objs := \
8 alloc.o \ 8 alloc.o \
@@ -24,8 +24,6 @@ ocfs2-objs := \
24 namei.o \ 24 namei.o \
25 resize.o \ 25 resize.o \
26 slot_map.o \ 26 slot_map.o \
27 stackglue.o \
28 stack_o2cb.o \
29 suballoc.o \ 27 suballoc.o \
30 super.o \ 28 super.o \
31 symlink.o \ 29 symlink.o \
@@ -33,5 +31,8 @@ ocfs2-objs := \
33 uptodate.o \ 31 uptodate.o \
34 ver.o 32 ver.o
35 33
34ocfs2_stackglue-objs := stackglue.o
35ocfs2_stack_o2cb-objs := stack_o2cb.o
36
36obj-$(CONFIG_OCFS2_FS) += cluster/ 37obj-$(CONFIG_OCFS2_FS) += cluster/
37obj-$(CONFIG_OCFS2_FS) += dlm/ 38obj-$(CONFIG_OCFS2_FS) += dlm/