• Linus Torvalds's avatar
    Merge tag 'fs.v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux · 15f2e3d6
    Linus Torvalds authored
    Pull mount_setattr updates from Christian Brauner:
     "This contains a few more patches to massage the mount_setattr()
      codepaths and one minor fix to reuse a helper we added some time back.
    
      The final two patches do similar cleanups in different ways. One patch
      is mine and the other is Al's who was nice enough to give me a branch
      for it.
    
      Since his came in later and my branch had been sitting in -next for
      quite some time we just put his on top instead of swap them"
    
    * tag 'fs.v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
      mount_setattr(): clean the control flow and calling conventions
      fs: clean up mount_setattr control flow
      fs: don't open-code mnt_hold_writers()
      fs: simplify check in mount_setattr_commit()
      fs: add mnt_allow_writers() and simplify mount_setattr_prepare()
    15f2e3d6
namespace.c 113 KB