Btrfs: remove OPT_acl parse when acl disabled
authorGuangliang Zhao <lucienchao@gmail.com>
Mon, 12 May 2014 03:04:33 +0000 (11:04 +0800)
committerChris Mason <clm@fb.com>
Tue, 10 Jun 2014 00:20:50 +0000 (17:20 -0700)
commit45ff35d6b9f301cbfb6b1703466ebe4431c7567f
tree132be574205b90ce90fd5ca723fa99f9914ddc19
parentfaa2dbf004e89e8f7ccd28fbe6f07c308417b8ae
Btrfs: remove OPT_acl parse when acl disabled

Even CONFIG_BTRFS_FS_POSIX_ACL is not defined, the acl still could
been enabled using a mount option, and now fs/btrfs/acl.o is not
built, so the mount options will appear to be supported but will
be silently ignored.

Signed-off-by: Guangliang Zhao <lucienchao@gmail.com>
Reviewed-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/super.c