[PATCH 0/5] autofs: misc patches

From: Ian Kent
Date: Thu Jul 07 2022 - 21:43:03 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().

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 (5):
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


fs/autofs/autofs_i.h | 7 ++-
fs/autofs/expire.c | 2 +-
fs/autofs/inode.c | 1 +
fs/autofs/root.c | 108 ++++++++++++++++++++-----------------------
4 files changed, 57 insertions(+), 61 deletions(-)

--
Ian