• Linus Torvalds's avatar
    Merge tag 'fs.idmapped.v6.3' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/idmapping · 05e6295f
    Linus Torvalds authored
    Pull vfs idmapping updates from Christian Brauner:
    
     - Last cycle we introduced the dedicated struct mnt_idmap type for
       mount idmapping and the required infrastucture in 256c8aed ("fs:
       introduce dedicated idmap type for mounts"). As promised in last
       cycle's pull request message this converts everything to rely on
       struct mnt_idmap.
    
       Currently we still pass around the plain namespace that was attached
       to a mount. This is in general pretty convenient but it makes it easy
       to conflate namespaces that are relevant on the filesystem with
       namespaces that are relevant on the mount level. Especially for
       non-vfs developers without detailed knowledge in this area this was a
       potential source for bugs.
    
       This finishes the conversion. Instead of passing the plain namespace
       around this updates all places that currently take a pointer to a
       mnt_userns with a pointer to struct mnt_idmap.
    
       ...
    05e6295f
utimes.c 7.66 KB