Browse code

Add user namespace check to check-chonfig.sh

Signed-off-by: Lei Jitang <leijitang@huawei.com>

Lei Jitang authored on 2015/10/11 18:26:34
Showing 1 changed files
... ...
@@ -181,6 +181,9 @@ echo
181 181
 
182 182
 echo 'Optional Features:'
183 183
 {
184
+	check_flags USER_NS
185
+}
186
+{
184 187
 	check_flags MEMCG_KMEM MEMCG_SWAP MEMCG_SWAP_ENABLED
185 188
 	if  is_set MEMCG_SWAP && ! is_set MEMCG_SWAP_ENABLED; then
186 189
 		echo "    $(wrap_color '(note that cgroup swap accounting is not enabled in your kernel config, you can enable it by setting boot option "swapaccount=1")' bold black)"
... ...
@@ -240,6 +243,3 @@ echo '- Storage Drivers:'
240 240
 } | sed 's/^/  /'
241 241
 echo
242 242
 
243
-#echo 'Potential Future Features:'
244
-#check_flags USER_NS
245
-#echo