userns: Remove the now unnecessary FS_USERNS_DEV_MOUNT flag
authorEric W. Biederman <ebiederm@xmission.com>
Thu, 9 Jun 2016 20:44:48 +0000 (15:44 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 23 Jun 2016 20:47:31 +0000 (15:47 -0500)
commitcc50a07a247e17db76b1f0b0ca06652556e04fa3
tree64060a2d84ef06285de1f1a13008899dec16a2dc
parent67690f937c38bbab1d94cb45f6a32e61612834ae
userns: Remove the now unnecessary FS_USERNS_DEV_MOUNT flag

Now that SB_I_NODEV controls the nodev behavior devpts can just clear
this flag during mount.  Simplifying the code and making it easier
to audit how the code works.  While still preserving the invariant
that s_iflags is only modified during mount.

Acked-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
fs/devpts/inode.c
fs/super.c
include/linux/fs.h