Whamcloud - gitweb
LU-14291 lustre: further cleanup of acl code. 32/42032/3
authorMr NeilBrown <neilb@suse.de>
Sun, 14 Mar 2021 22:34:55 +0000 (09:34 +1100)
committerOleg Drokin <green@whamcloud.com>
Mon, 22 Mar 2021 16:26:28 +0000 (16:26 +0000)
commit8cdb99aa0a6462a35ac584226ae66841c3b7bc2f
treeb65febe873d0fb9041bd91bc7b2a80b31f6569c3
parent3e14a71d87efde0a91ef04d3f37f0d16e3c2b450
LU-14291 lustre: further cleanup of acl code.

Code in lustre/obdclass/acl.c is only used in lustre/mdd/, so move the
file there, renaming to mdd_acl.c and removing EXPORT_SYMBOL()
declarations.

The function prototypes in lustre_eacl.h are moved to mdd_internal.h,
and the remainder of that file is discarded.  THe
HAVE_STRUCT_ACL_XATTR stanza, in particular, is unnecessary is it
exists in lustre_compat.h.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: Idb0978758640c5ad527d2c68c4fdf6dee32a731c
Reviewed-on: https://review.whamcloud.com/42032
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
lustre/include/Makefile.am
lustre/include/lustre_eacl.h
lustre/mdd/Makefile.in
lustre/mdd/mdd_acl.c [moved from lustre/obdclass/acl.c with 97% similarity]
lustre/mdd/mdd_internal.h
lustre/mdt/mdt_internal.h
lustre/obdclass/Makefile.in