Btrfs: Makefile changes to optionally include btrfs integrity check
authorStefan Behrens <sbehrens@giantdisaster.de>
Tue, 1 Nov 2011 16:06:39 +0000 (17:06 +0100)
committerStefan Behrens <sbehrens@giantdisaster.de>
Wed, 21 Dec 2011 18:14:16 +0000 (19:14 +0100)
If the btrfs integrity check is enabled, the files required to
implement the checks are included in the build.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
fs/btrfs/Makefile

index c0ddfd2..bc5b355 100644 (file)
@@ -11,3 +11,4 @@ btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
           reada.o backref.o
 
 btrfs-$(CONFIG_BTRFS_FS_POSIX_ACL) += acl.o
+btrfs-$(CONFIG_BTRFS_FS_CHECK_INTEGRITY) += check-integrity.o