mbox series

[0/7] mount_setattr fixes

Message ID 20220203131411.3093040-1-brauner@kernel.org (mailing list archive)
Headers show
Series mount_setattr fixes | expand

Message

Christian Brauner Feb. 3, 2022, 1:14 p.m. UTC
Hey,

This contains a couple of minor fixes for the mount_setattr() code I
didn't get around to sending so far. Apart from making the control flow
a little easier to follow there's a fix for a long-standing braino in
one of the idmapped mount kernel selftests. The kernel selftests are
separate from the large fstests suite and are only concerned with
testing the syscall itself whereas the fstests test all related vfs and
filesystem specific functionality for idmapped mounts. I would also like
to add a maintenance entry for idmapped mounts for the few files and
documentation that I've written.
I'll be gone for ~10 days starting next week but I'll try to check-in
regularly.

Thanks!
Christian

Christian Brauner (7):
  tests: fix idmapped mount_setattr test
  MAINTAINERS: add entry for idmapped mounts
  fs: add kernel doc for mnt_{hold,unhold}_writers()
  fs: add mnt_allow_writers() and simplify mount_setattr_prepare()
  fs: simplify check in mount_setattr_commit()
  fs: don't open-code mnt_hold_writers()
  fs: clean up mount_setattr control flow

 MAINTAINERS                                   |   9 ++
 fs/namespace.c                                | 148 +++++++++++-------
 .../mount_setattr/mount_setattr_test.c        |   4 +-
 3 files changed, 105 insertions(+), 56 deletions(-)


base-commit: 26291c54e111ff6ba87a164d85d4a4e134b7315c