Whamcloud - gitweb
LU-14291 lustre: clean up lustre_eacl.h and make server-only 26/41126/4
authorMr NeilBrown <neilb@suse.de>
Thu, 29 Oct 2020 05:13:36 +0000 (16:13 +1100)
committerOleg Drokin <green@whamcloud.com>
Tue, 16 Mar 2021 18:17:12 +0000 (18:17 +0000)
commit497f520fa341fe2352400c7e5fbc6917b129ff70
tree746a26b5fab986e59bc0c019314e6ae2b9335446
parentd707b390aec5e95a1aec9910fb3c8248c231cbfb
LU-14291 lustre: clean up lustre_eacl.h and make server-only

lustre_eacl.h contains a number of declarations that are never used:
remove them.

The declarations which are used are only needed on server-side files,
so remove the #include from elsewhere.

As obdclass/acl.c is only built server-side, remove the
 #ifdef HAVE_SERVER_SUPPORT
in the file.

Test-Parameters: trivial
Signed-off-by: Mr NeilBrown <neilb@suse.de>
Change-Id: If1a3d908bf8357041c38ab9d335efa1e051cef16
Reviewed-on: https://review.whamcloud.com/41126
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/lustre_eacl.h
lustre/llite/llite_internal.h
lustre/llite/xattr.c
lustre/obdclass/acl.c
lustre/ptlrpc/nodemap_handler.c