From: Eric W. Biederman <ebiederm@xmission.com>
Date: Wed, 8 Feb 2012 00:31:49 +0000 (-0800)
Subject: userns: Allow the usernamespace support to build after the removal of usbfs
X-Git-Tag: firefly_0821_release~3680^2~1951^2~106
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d755586052e3f3020f7ed25a83945ecd38a5613a;p=firefly-linux-kernel-4.4.55.git

userns: Allow the usernamespace support to build after the removal of usbfs

The user namespace code has an explicit "depends on USB_DEVICEFS = n"
dependency to prevent building code that is not yet user namespace safe. With
the removal of usbfs from the kernel it is now impossible to satisfy the
USB_DEFICEFS = n dependency and thus it is impossible to enable user
namespace support in 3.5-rc1.  So remove the now useless depedency.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
---

diff --git a/init/Kconfig b/init/Kconfig
index af6c7f8ba019..364b38dc8c35 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -963,7 +963,6 @@ config UIDGID_CONVERTED
 	depends on ATALK = n
 
 	# Filesystems
-	depends on USB_DEVICEFS = n
 	depends on USB_GADGETFS = n
 	depends on USB_FUNCTIONFS = n
 	depends on DEVTMPFS = n