ocfs2-devel: remove redundant OCFS2_MOUNT_POSIX_ACL check in ocfs2_get_acl_nolock()
authorJeff Liu <jeff.liu@oracle.com>
Tue, 15 Dec 2009 06:08:28 +0000 (14:08 +0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 17 Dec 2009 11:19:44 +0000 (03:19 -0800)
commitf5befbbbf9b7af033c94a1df6acaf79e77a3ceb6
tree1e393c45b4f3c64910ce5a25a009598c40dd5981
parentaad1b15310b9bcd59fa81ab8f2b1513b59553ea8
ocfs2-devel: remove redundant OCFS2_MOUNT_POSIX_ACL check in ocfs2_get_acl_nolock()

osb->s_mount_opt has already been checked against OCFS2_MOUNT_POSIX_ACL_CHECK before
calling ocfs2_get_acl_nolock() in ocfs2_init_acl() && ocfs2_get_acl(), so remove it.

Signed-off-by: Jeff Liu <jeff.liu@oracle.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/acl.c