Skip to content

Commit 34a9dd7

Browse files
author
Joel Becker
committed
ocfs2_dlmfs: Move to its own directory
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>
1 parent 65b6f34 commit 34a9dd7

8 files changed

Lines changed: 9 additions & 4 deletions

File tree

‎fs/ocfs2/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ ocfs2_stackglue-objs := stackglue.o
4646
ocfs2_stack_o2cb-objs := stack_o2cb.o
4747
ocfs2_stack_user-objs := stack_user.o
4848

49+
obj-$(CONFIG_OCFS2_FS) += dlmfs/
4950
# cluster/ is always needed when OCFS2_FS for masklog support
5051
obj-$(CONFIG_OCFS2_FS) += cluster/
5152
obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/

‎fs/ocfs2/dlm/Makefile‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
EXTRA_CFLAGS += -Ifs/ocfs2
22

3-
obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o ocfs2_dlmfs.o
3+
obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_dlm.o
44

55
ocfs2_dlm-objs := dlmdomain.o dlmdebug.o dlmthread.o dlmrecovery.o \
66
dlmmaster.o dlmast.o dlmconvert.o dlmlock.o dlmunlock.o dlmver.o
77

8-
ocfs2_dlmfs-objs := userdlm.o dlmfs.o dlmfsver.o

‎fs/ocfs2/dlmfs/Makefile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
EXTRA_CFLAGS += -Ifs/ocfs2
2+
3+
obj-$(CONFIG_OCFS2_FS) += ocfs2_dlmfs.o
4+
5+
ocfs2_dlmfs-objs := userdlm.o dlmfs.o dlmfsver.o
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#include "cluster/heartbeat.h"
5353
#include "cluster/tcp.h"
5454

55-
#include "dlmapi.h"
55+
#include "dlm/dlmapi.h"
5656

5757
#include "userdlm.h"
5858

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
#include "cluster/heartbeat.h"
4040
#include "cluster/tcp.h"
4141

42-
#include "dlmapi.h"
42+
#include "dlm/dlmapi.h"
4343

4444
#include "userdlm.h"
4545

0 commit comments

Comments
 (0)