mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-03 22:56:58 +00:00
The code that works with the super block had drifted a bit. We still had two from an old design and we weren't doing anything with its crc. Move to only using one super block at a fixed blkno and store and verify its crc field by sharing code with the btree block checksumming. Signed-off-by: Zach Brown <zab@versity.com>
28 lines
993 B
Makefile
28 lines
993 B
Makefile
obj-$(CONFIG_SCOUTFS_FS) := scoutfs.o
|
|
|
|
CFLAGS_super.o = -DSCOUTFS_GIT_DESCRIBE=\"$(SCOUTFS_GIT_DESCRIBE)\" \
|
|
-DSCOUTFS_FORMAT_HASH=0x$(SCOUTFS_FORMAT_HASH)LLU
|
|
|
|
CFLAGS_scoutfs_trace.o = -I$(src) # define_trace.h double include
|
|
|
|
scoutfs-y += bio.o block.o btree.o client.o compact.o counters.o data.o dir.o \
|
|
export.o extents.o file.o inode.o ioctl.o item.o lock.o \
|
|
manifest.o msg.o options.o per_task.o seg.o server.o \
|
|
scoutfs_trace.o sock.o sort_priv.o super.o sysfs.o trans.o \
|
|
triggers.o xattr.o
|
|
|
|
#
|
|
# The raw types aren't available in userspace headers. Make sure all
|
|
# the types we use in the headers are the exported __ versions.
|
|
#
|
|
# XXX dunno how we're really supposed to do this in kbuild
|
|
#
|
|
.PHONY: $(src)/check_exported_types
|
|
$(src)/check_exported_types:
|
|
@if egrep '\<[us](8|16|32|64\>)' $(src)/format.h $(src)/ioctl.h; then \
|
|
echo "no raw types in exported headers, preface with __"; \
|
|
exit 1; \
|
|
fi
|
|
|
|
extra-y += check_exported_types
|