diff options
author | Yan <yanzheng@21cn.com> | 2008-01-17 16:59:48 (GMT) |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 15:03:59 (GMT) |
commit | caaca38b8fdcf63a17647fddae2195b189e19e37 (patch) | |
tree | 635bceedd564afcf56f26b139dd85d0f88a5ef8e /fs/btrfs/Makefile | |
parent | 4d5e74bc0aec3f54b7e429d77b7c35de042c507d (diff) | |
download | linux-fsl-qoriq-caaca38b8fdcf63a17647fddae2195b189e19e37.tar.xz |
Btrfs: Fix compile on kernel without ACLs enabled
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r-- | fs/btrfs/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index ab9a9f8..72cc3e1 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile @@ -5,8 +5,11 @@ obj-m := btrfs.o btrfs-y := super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \ hash.o file-item.o inode-item.o inode-map.o disk-io.o \ transaction.o bit-radix.o inode.o file.o tree-defrag.o \ - extent_map.o sysfs.o struct-funcs.o xattr.o acl.o ordered-data.o + extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o +ifeq ($(CONFIG_FS_POSIX_ACL),y) +btrfs-y += acl.o +endif #btrfs-y := ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \ # root-tree.o dir-item.o hash.o file-item.o inode-item.o \ # inode-map.o \ |