]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitde95fb663331e862b9dd77df823208a1b2f41975
tree64060a2d84ef06285de1f1a13008899dec16a2dc
parentf8060ab61f167836869715f0999a4d0160d57988
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