linux/fs/autofs
Ian Kent 9ccbac76e7 autofs: make dentry info count consistent
If an autofs dentry is a mount root directory there's no ->mkdir() call to
set its count to one.

To make the dentry info count consistent for all autofs dentries set count
to one when the dentry info struct is allocated.

Link: https://lkml.kernel.org/r/165724458671.30914.2902424437132835325.stgit@donald.themaw.net
Signed-off-by: Ian Kent <raven@themaw.net>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: David Howells <dhowells@redhat.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2022-07-17 17:31:42 -07:00
..
autofs_i.h get rid of autofs_getpath() 2021-03-21 11:44:02 -04:00
dev-ioctl.c file: Replace ksys_close with close_fd 2020-12-10 12:42:59 -06:00
expire.c autofs: should_expire() argument is guaranteed to be positive 2021-03-24 14:14:27 -04:00
init.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 83 2019-05-24 17:37:52 +02:00
inode.c autofs: make dentry info count consistent 2022-07-17 17:31:42 -07:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
root.c autofs: make dentry info count consistent 2022-07-17 17:31:42 -07:00
symlink.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 83 2019-05-24 17:37:52 +02:00
waitq.c autofs: fix wait name hash calculation in autofs_wait() 2021-10-20 21:09:02 -04:00