Re: [PATCH] Btrfs: remove OPT_acl parse when acl disabled

2014-05-11 Thread Guangliang Zhao
On Fri, May 09, 2014 at 03:21:09PM +0200, David Sterba wrote: On Thu, May 08, 2014 at 12:56:32PM +0800, Guangliang Zhao wrote: 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

[PATCH v2] Btrfs: remove OPT_acl parse when acl disabled

2014-05-11 Thread Guangliang Zhao
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 lucienc...@gmail.com Reviewed-by: David Sterba

[PATCH] Btrfs: remove OPT_acl parse when acl disabled

2014-05-07 Thread Guangliang Zhao
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 lucienc...@gmail.com --- fs/btrfs/super.c