瀏覽代碼

Add user namespace check to check-chonfig.sh

Signed-off-by: Lei Jitang <leijitang@huawei.com>
Lei Jitang 9 年之前
父節點
當前提交
d475c4ddc1
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      contrib/check-config.sh

+ 3 - 3
contrib/check-config.sh

@@ -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