diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-07-14 03:17:39 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-08-01 14:30:48 -0400 |
commit | 9b89d95a143bb0a9abc4ba0fdcdda78211930f1a (patch) | |
tree | 353768825b985753b23fda0ec88e7cc85bf83346 /fs/btrfs/Makefile | |
parent | 15de900d08bb132833c8622610ddb1be660a6018 (diff) | |
download | op-kernel-dev-9b89d95a143bb0a9abc4ba0fdcdda78211930f1a.zip op-kernel-dev-9b89d95a143bb0a9abc4ba0fdcdda78211930f1a.tar.gz |
Btrfs: make acl functions really no-op if acl is not enabled
So there's no overhead for something we don't use.
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r-- | fs/btrfs/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index 9b72dcf..40e6ac0 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile @@ -6,5 +6,7 @@ btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \ transaction.o inode.o file.o tree-defrag.o \ extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \ extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \ - export.o tree-log.o acl.o free-space-cache.o zlib.o lzo.o \ + export.o tree-log.o free-space-cache.o zlib.o lzo.o \ compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o + +btrfs-$(CONFIG_BTRFS_FS_POSIX_ACL) += acl.o |