diff options
author | Ian Kent <raven@themaw.net> | 2022-07-08 03:43:06 +0200 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-18 02:31:42 +0200 |
commit | 9ccbac76e71de411b9c4beea9d91ba98f3fad690 (patch) | |
tree | 31f79d9d5101714b3bbc32851b5845aaa039a22d /fs/autofs/autofs_i.h | |
parent | autofs: use inode permission method for write access (diff) | |
download | linux-9ccbac76e71de411b9c4beea9d91ba98f3fad690.tar.xz linux-9ccbac76e71de411b9c4beea9d91ba98f3fad690.zip |
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>
Diffstat (limited to 'fs/autofs/autofs_i.h')
0 files changed, 0 insertions, 0 deletions