diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2024-05-09 12:44:53 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2025-11-16 01:35:05 -0500 |
| commit | b85d6b24192463c9969ed6d3a111498af465275f (patch) | |
| tree | 5dbad68603ac15f051d703b002859cfb97e92737 /fs/binfmt_misc.c | |
| parent | 4c7d25094f5caa145d5e574d64fdad784caecfdf (diff) | |
convert autofs
creation/removal is via normal VFS paths; make ->mkdir() and ->symlink()
use d_make_persistent(); ->rmdir() and ->unlink() - d_make_discardable()
instead of dput() and that's it.
d_make_persistent() works for unhashed just fine...
Note that only persistent dentries are ever hashed there; unusual absense
of ->d_delete() in dentry_operations is due to that - anything that has
refcount reach 0 will be unhashed there, so it won't get to checking
->d_delete anyway.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/binfmt_misc.c')
0 files changed, 0 insertions, 0 deletions