linux/fs/autofs4
Ian Kent 1c4344a50d autofs - dont hold spin lock over direct mount expire
Commit 7cbdb4a286 altered the autofs indirect mount expire to
not hold a spin lock during the expire check.

The direct mount expire needs the same treatment because to
make autofs expires namespace aware may_umount_tree() needs to
to use a similar method to may_umount() when checking if a mount
tree is in use.

This means may_umount_tree() will end up taking the namespace_sem
for the check so the autofs direct mount expire won't be allowed
to hold a spin lock over the check.

Signed-off-by: Ian Kent <raven@themaw.net>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Omar Sandoval <osandov@osandov.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2016-12-03 20:51:50 -05:00
..
autofs_i.h autofs: change autofs4_wait() to take struct path 2016-12-03 20:51:48 -05:00
dev-ioctl.c autofs: use path_has_submounts() to fix unreliable have_submount() checks 2016-12-03 20:51:49 -05:00
expire.c autofs - dont hold spin lock over direct mount expire 2016-12-03 20:51:50 -05:00
init.c autofs4: coding style fixes 2016-03-15 16:55:16 -07:00
inode.c autofs: use autofs4_free_ino() to kfree dentry data 2016-10-11 15:06:31 -07:00
Kconfig fs/Kconfig: move autofs, autofs4 out 2009-01-22 13:15:54 +03:00
Makefile autofs4: add miscellaneous device for ioctls 2008-10-16 11:21:39 -07:00
root.c autofs - constify misc struct path instances 2016-12-03 20:51:50 -05:00
symlink.c autofs4: coding style fixes 2016-03-15 16:55:16 -07:00
waitq.c autofs: use path_has_submounts() to fix unreliable have_submount() checks 2016-12-03 20:51:49 -05:00