HomeFreeBSD

Linux 4.8 compat: new s_user_ns member of struct super_block

Description

Linux 4.8 compat: new s_user_ns member of struct super_block

Kernel 4.8 paved the way to enabling mounting a file system inside a
non-init user namespace. To facilitate this a s_user_ns member was
added holding the userns in which the filesystem's instance was
mounted. This enables doing the uid/gid translation relative to
this particular username space and not the default init_user_ns.

Signed-off-by: Nikolay Borisov <n.borisov.lkml@gmail.com>
Signed-off-by: Chunwei Chen <david.chen@osnexus.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4928

Details

Provenance
Nikolay Borisov <n.borisov.lkml@gmail.com>Authored on Aug 3 2016, 5:19 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 8 2016, 5:47 PM
Parents
rGcf2731e65b20: arc_meta_limit should be updated when arc_max is changed.
Branches
Unknown
Tags
Unknown