]> 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)
commit97a5b798e7abd2788b53c67fb81364cca319d17f
tree64060a2d84ef06285de1f1a13008899dec16a2dc
parentad99af3e8d7032203d541596d4b922cefcbb6189
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