[PATCH 0/6] autofs: misc patches
From: Ian Kent
Date: Fri Jun 17 2022 - 01:35:30 EST
This series contains several patches that resulted mostly from comments
made by Al Viro (quite a long time ago now).
They are:
- make use of the .permission() method for access checks.
- use dentry info count instead of simple_empty() to avoid
taking a spinlock.
- add a use cases comment to autofs_mountpoint_changed().
- make better use of mount trigger flags (I think this was
actually mentioned by me at the time).
Others:
- fix usage consistency problem with dentry info count.
- remove unused inode field from info struct.
Signed-off-by: Ian Kent <raven@xxxxxxxxxx>
---
Ian Kent (6):
autofs: use inode permission method for write access
autofs: make dentry info count consistent
autofs: use dentry info count instead of simple_empty()
autofs: add comment about autofs_mountpoint_changed()
autofs: remove unused ino field inode
autofs: manage dentry info mount trigger flags better
fs/autofs/autofs_i.h | 7 +-
fs/autofs/expire.c | 2 +-
fs/autofs/inode.c | 1 +
fs/autofs/root.c | 203 +++++++++++++++++++------------------------
4 files changed, 98 insertions(+), 115 deletions(-)
--
Ian Kent