Add user namespace check to check-chonfig.sh

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Upstream-commit: d475c4ddc1b8a3a15a10c20c4ec4e15f642d71e4
Component: engine
This commit is contained in:
Lei Jitang
2015-10-11 17:26:34 +08:00
parent 36fdf8f132
commit a9b61f95aa

View File

@ -180,6 +180,9 @@ check_flags "${flags[@]}"
echo
echo 'Optional Features:'
{
check_flags USER_NS
}
{
check_flags MEMCG_KMEM MEMCG_SWAP MEMCG_SWAP_ENABLED
if is_set MEMCG_SWAP && ! is_set MEMCG_SWAP_ENABLED; then
@ -240,6 +243,3 @@ echo '- Storage Drivers:'
} | sed 's/^/ /'
echo
#echo 'Potential Future Features:'
#check_flags USER_NS
#echo