Whamcloud - gitweb
LU-9679 mdc: create mdc_acl.c 92/39292/4
authorMr NeilBrown <neilb@suse.de>
Mon, 6 Jul 2020 12:34:47 +0000 (08:34 -0400)
committerOleg Drokin <green@whamcloud.com>
Fri, 17 Jul 2020 19:29:31 +0000 (19:29 +0000)
commit896ff00276afd83efb7523f61807feb63e6a70d5
tree864f195910c8699aa2b49f59ae8bf45cba9946ff
parent0a03e51b7e49a319a288c7c2be367c90e63d045d
LU-9679 mdc: create mdc_acl.c

This new C file contains acl related code so it can be
conditionally compiled.

Also remove conditional code around the call to mdc_unpack_acl(), as
those tests are already performed inside mdc_unpack_acl().

In the Makefile, use CONFIG_FS_POSIX_ACL to control conditional
compilation as CONFIG_LUSTRE_FS_POSIX_ACL is not available, but the
two are semantically equivalent in this context.

This removes all #ifdef of CONFIG_LUSTRE_FS_POSIX_ACL from C files in
'mdc'.

Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Ic9060bee4a2ad55580d8879fe32fee01b1cb8884
Reviewed-on: https://review.whamcloud.com/39292
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Lai Siyao <lai.siyao@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/mdc/Makefile.in
lustre/mdc/mdc_acl.c [new file with mode: 0644]
lustre/mdc/mdc_internal.h
lustre/mdc/mdc_request.c