Add user namespace check to check-chonfig.sh

Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
Lei Jitang 2015-10-11 17:26:34 +08:00
parent ed9434c5bb
commit d475c4ddc1

View file

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