2005-12-15 14:31:24 -08:00
EXTRA_CFLAGS += -Ifs/ocfs2
EXTRA_CFLAGS += -DCATCH_BH_JBD_RACES
2007-11-28 14:53:30 -08:00
obj-$(CONFIG_OCFS2_FS) += \
ocfs2.o \
2008-03-04 17:58:56 -08:00
ocfs2_stackglue.o
obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_stack_o2cb.o
obj-$(CONFIG_OCFS2_FS_USERSPACE_CLUSTER) += ocfs2_stack_user.o
2005-12-15 14:31:24 -08:00
ocfs2-objs := \
alloc.o \
aops.o \
2008-10-16 17:54:25 -07:00
blockcheck.o \
2005-12-15 14:31:24 -08:00
buffer_head_io.o \
dcache.o \
dir.o \
dlmglue.o \
export.o \
extent_map.o \
file.o \
heartbeat.o \
inode.o \
2006-07-03 17:27:12 -07:00
ioctl.o \
2005-12-15 14:31:24 -08:00
journal.o \
localalloc.o \
2007-12-20 16:49:04 -08:00
locks.o \
2005-12-15 14:31:24 -08:00
mmap.o \
namei.o \
2009-08-18 11:19:26 +08:00
refcounttree.o \
2007-12-18 15:47:03 +08:00
resize.o \
2005-12-15 14:31:24 -08:00
slot_map.o \
suballoc.o \
super.o \
symlink.o \
sysfile.o \
uptodate.o \
2008-08-18 17:38:48 +08:00
ver.o \
2008-08-25 19:56:50 +02:00
quota_local.o \
quota_global.o \
2008-10-07 14:52:59 -07:00
xattr.o
2005-12-15 14:31:24 -08:00
2008-11-14 11:17:04 +08:00
i f e q ( $( CONFIG_OCFS 2_FS_POSIX_ACL ) , y )
ocfs2-objs += acl.o
e n d i f
2008-02-01 15:03:57 -08:00
ocfs2_stackglue-objs := stackglue.o
ocfs2_stack_o2cb-objs := stack_o2cb.o
2007-11-28 14:53:30 -08:00
ocfs2_stack_user-objs := stack_user.o
2008-02-01 15:03:57 -08:00
2008-03-04 17:58:56 -08:00
# cluster/ is always needed when OCFS2_FS for masklog support
2005-12-15 14:31:24 -08:00
obj-$(CONFIG_OCFS2_FS) += cluster/
2008-03-04 17:58:56 -08:00
obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/