Btrfs: make acl functions really no-op if acl is not enabled
authorLi Zefan <lizf@cn.fujitsu.com>
Thu, 14 Jul 2011 03:17:39 +0000 (03:17 +0000)
committerChris Mason <chris.mason@oracle.com>
Mon, 1 Aug 2011 18:30:48 +0000 (14:30 -0400)
commit9b89d95a143bb0a9abc4ba0fdcdda78211930f1a
tree353768825b985753b23fda0ec88e7cc85bf83346
parent15de900d08bb132833c8622610ddb1be660a6018
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>
fs/btrfs/Makefile
fs/btrfs/acl.c
fs/btrfs/ctree.h