mbox series

[0/6] autofs: misc patches

Message ID 165544393032.250070.3426550720222448062.stgit@donald.themaw.net (mailing list archive)
Headers show
Series autofs: misc patches | expand

Message

Ian Kent June 17, 2022, 5:35 a.m. UTC
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@themaw.net>
---

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