Whamcloud - gitweb
LU-6142 llite: move CONFIG_SECURITY handling to llite_internal.h 10/33410/2
authorJames Simmons <uja.ornl@yahoo.com>
Sat, 20 Oct 2018 18:42:45 +0000 (14:42 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 29 Oct 2018 15:58:37 +0000 (15:58 +0000)
commit920c558fa4387d982f78ab40ab90703e493445e1
treead95b877b56fe973970a88015c5a04fa9a8ab01a
parente0132e16df15290fde67a69e64061d31fb3e0923
LU-6142 llite: move CONFIG_SECURITY handling to llite_internal.h

For the linux kernel its recommended to keep CONFIG_* wrapped code
in a header file instead of the source files to avoid making the
code more difficulty to read. Move CONFIG_SECURITY wrapped code
to llite_internal.h in this case.

Change-Id: I60eba17181d3b57fb64e99a441163f975dbab03c
Test-Parameters: trivial
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/33410
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: John L. Hammond <jhammond@whamcloud.com>
lustre/llite/llite_internal.h
lustre/llite/llite_lib.c