Whamcloud - gitweb
LU-12885 mdd: clearly name variables for MAY_ flags 20/36520/8
authorAndreas Dilger <adilger@whamcloud.com>
Fri, 18 Oct 2019 11:12:24 +0000 (20:12 +0900)
committerOleg Drokin <green@whamcloud.com>
Sat, 6 Mar 2021 02:35:08 +0000 (02:35 +0000)
commit76b9cf2565eb7a5dff65bf508d5762a109345f5d
tree6e2a32b8de0b4e9858bc622b0e3624e84dc47ab4
parentb51a1e1140cac80c0590183be05e905bf87294d4
LU-12885 mdd: clearly name variables for MAY_ flags

Clearly name variables for MAY_READ, MAY_WRITE, MAY_EXEC to
distinguish it from other "mask" variables.

The kernel VFS silently converts the MAY_READ, MAY_WRITE, and
MAY_EXEC flags to ACL_READ, ACL_WRITE, and ACL_EXECUTE modes for
the on-disk ACLs.  It later also converts from the ACL_* flags
to POSIX rwx bits. Verify that these values are the same.

Test-Parameters: trivial
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: Idcd91d4c467c4415f1c67a5081721393cd3ebbe5
Reviewed-on: https://review.whamcloud.com/36520
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Neil Brown <neilb@suse.de>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/lustre_eacl.h
lustre/include/lustre_mds.h
lustre/include/md_object.h
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_internal.h
lustre/mdd/mdd_object.c
lustre/mdd/mdd_permission.c
lustre/obdclass/acl.c