Skip to content

Commit

Permalink
ocfs2_dlmfs: Move to its own directory
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joel Becker committed Feb 26, 2010
1 parent 65b6f34 commit 34a9dd7
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions fs/ocfs2/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
3 changes: 1 addition & 2 deletions fs/ocfs2/dlm/Makefile
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions fs/ocfs2/dlmfs/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
EXTRA_CFLAGS += -Ifs/ocfs2

obj-$(CONFIG_OCFS2_FS) += ocfs2_dlmfs.o

ocfs2_dlmfs-objs := userdlm.o dlmfs.o dlmfsver.o
2 changes: 1 addition & 1 deletion fs/ocfs2/dlm/dlmfs.c → fs/ocfs2/dlmfs/dlmfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#include "cluster/heartbeat.h"
#include "cluster/tcp.h"

#include "dlmapi.h"
#include "dlm/dlmapi.h"

#include "userdlm.h"

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion fs/ocfs2/dlm/userdlm.c → fs/ocfs2/dlmfs/userdlm.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
#include "cluster/heartbeat.h"
#include "cluster/tcp.h"

#include "dlmapi.h"
#include "dlm/dlmapi.h"

#include "userdlm.h"

Expand Down
File renamed without changes.

0 comments on commit 34a9dd7

Please sign in to comment.