ocfs2: Make acl use the default
authorJan Kara <jack@suse.cz>
Thu, 15 Oct 2009 12:54:04 +0000 (14:54 +0200)
committerJoel Becker <joel.becker@oracle.com>
Thu, 29 Oct 2009 06:06:32 +0000 (23:06 -0700)
commit5297aad80cd3a3e62116e0a0b29116ccd8ae397d
tree67e6893713a281ea601e73866b026a4e05230fae
parente6aabe0cac14a495d42f629a803c5e221089bae8
ocfs2: Make acl use the default

Change acl mount options handling to match the one of XFS and BTRFS and
hopefully it is also easier to use now. When admin does not specify any
acl mount option, acls are enabled if and only if the filesystem has
xattr feature enabled. If admin specifies 'acl' mount option, we fail
the mount if the filesystem does not have xattr feature and thus acls
cannot be enabled.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/ocfs2.h
fs/ocfs2/super.c