mount_setattr fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tests: fix idmapped mount_setattr testtools/ | +2 | 1 reply | |
| 2/7 | MAINTAINERS: add entry for idmapped mountsMAINTAINERS | +9 | 1 reply | |
| 3/7 | fs: add kernel doc for mnt_{hold,unhold}_writers()fs/ | +30 | 1 reply | |
| 4/7 | fs: add mnt_allow_writers() and simplify mount_setattr_prepare()fs/ | +22 | 1 reply | |
| 5/7 | fs: simplify check in mount_setattr_commit()fs/ | +2 | 1 reply | |
| 6/7 | fs: don't open-code mnt_hold_writers()fs/ | +2 | 1 reply | |
| 7/7 | fs: clean up mount_setattr control flowfs/ | +43 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] mount_setattr fixes
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
Signature · 1 line
2.32.0