Merge tag 'fs.v5.18' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2022 16:55:15 +0000 (09:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Mar 2022 16:55:15 +0000 (09:55 -0700)
commit15f2e3d6c1f713050d2d51f822fc4253f67ae7ac
treebc6f3a0b8b4ca8a2dce10cc3bc1e20403ec116b6
parented4643521e6af8ab8ed1e467630a85884d2696cf
parente257039f0fc7da36ac3a522ef9a5cb4ae7852e67
Merge tag 'fs.v5.18' of git://git./linux/kernel/git/brauner/linux

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()
fs/namespace.c