]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ocfs2_dlmfs: Move to its own directory
authorJoel Becker <joel.becker@oracle.com>
Thu, 28 Jan 2010 23:00:49 +0000 (15:00 -0800)
committerJoel Becker <joel.becker@oracle.com>
Fri, 26 Feb 2010 23:41:14 +0000 (15:41 -0800)
We're going to remove the tie between ocfs2_dlmfs and o2dlm.
ocfs2_dlmfs doesn't belong in the fs/ocfs2/dlm directory anymore.  Here
we move it to fs/ocfs2/dlmfs.

Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/Makefile
fs/ocfs2/dlm/Makefile
fs/ocfs2/dlmfs/Makefile [new file with mode: 0644]
fs/ocfs2/dlmfs/dlmfs.c [moved from fs/ocfs2/dlm/dlmfs.c with 99% similarity]
fs/ocfs2/dlmfs/dlmfsver.c [moved from fs/ocfs2/dlm/dlmfsver.c with 100% similarity]
fs/ocfs2/dlmfs/dlmfsver.h [moved from fs/ocfs2/dlm/dlmfsver.h with 100% similarity]
fs/ocfs2/dlmfs/userdlm.c [moved from fs/ocfs2/dlm/userdlm.c with 99% similarity]
fs/ocfs2/dlmfs/userdlm.h [moved from fs/ocfs2/dlm/userdlm.h with 100% similarity]

index 600d2d2ade11b945e395458d820f546d6fe979e8..791c0886c0606918bcc16a2322255022889d0b61 100644 (file)
@@ -46,6 +46,7 @@ ocfs2_stackglue-objs := stackglue.o
 ocfs2_stack_o2cb-objs := stack_o2cb.o
 ocfs2_stack_user-objs := stack_user.o
 
+obj-$(CONFIG_OCFS2_FS) += dlmfs/
 # cluster/ is always needed when OCFS2_FS for masklog support
 obj-$(CONFIG_OCFS2_FS) += cluster/
 obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/
index 190361375700aa02aeb43f6e87623e9dea39e73a..dcebf0d920fa17cbd0bae8db9bcb2090f4a3e3a6 100644 (file)
@@ -1,8 +1,7 @@
 EXTRA_CFLAGS += -Ifs/ocfs2
 
-obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o ocfs2_dlmfs.o
+obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o
 
 ocfs2_dlm-objs := dlmdomain.o dlmdebug.o dlmthread.o dlmrecovery.o \
        dlmmaster.o dlmast.o dlmconvert.o dlmlock.o dlmunlock.o dlmver.o
 
-ocfs2_dlmfs-objs := userdlm.o dlmfs.o dlmfsver.o
diff --git a/fs/ocfs2/dlmfs/Makefile b/fs/ocfs2/dlmfs/Makefile
new file mode 100644 (file)
index 0000000..df69b48
--- /dev/null
@@ -0,0 +1,5 @@
+EXTRA_CFLAGS += -Ifs/ocfs2
+
+obj-$(CONFIG_OCFS2_FS) += ocfs2_dlmfs.o
+
+ocfs2_dlmfs-objs := userdlm.o dlmfs.o dlmfsver.o
similarity index 99%
rename from fs/ocfs2/dlm/dlmfs.c
rename to fs/ocfs2/dlmfs/dlmfs.c
index ddf55dafba2d6e9b3229ac501c58db76317ae0b3..e21ce0e5fc42e6fae872ed54fbccc3edc6b03be4 100644 (file)
@@ -52,7 +52,7 @@
 #include "cluster/heartbeat.h"
 #include "cluster/tcp.h"
 
-#include "dlmapi.h"
+#include "dlm/dlmapi.h"
 
 #include "userdlm.h"
 
similarity index 99%
rename from fs/ocfs2/dlm/userdlm.c
rename to fs/ocfs2/dlmfs/userdlm.c
index 4cb1d3dae250d2237ce49e7c1d7f120dd8afafa7..6adae70cee8e9aa978b22d93d5fbc6d05876b553 100644 (file)
@@ -39,7 +39,7 @@
 #include "cluster/heartbeat.h"
 #include "cluster/tcp.h"
 
-#include "dlmapi.h"
+#include "dlm/dlmapi.h"
 
 #include "userdlm.h"