1__D_DROP(9)                      The Linux VFS                     __D_DROP(9)
2
3
4

NAME

6       __d_drop - drop a dentry
7

SYNOPSIS

9       void __d_drop(struct dentry * dentry);
10

ARGUMENTS

12       dentry
13           dentry to drop
14

DESCRIPTION

16       d_drop unhashes the entry from the parent dentry hashes, so that it
17       won't be found through a VFS lookup any more. Note that this is
18       different from deleting the dentry - d_delete will try to mark the
19       dentry negative if possible, giving a successful _negative_ lookup,
20       while d_drop will just make the cache lookup fail.
21
22       d_drop is used mainly for stuff that wants to invalidate a dentry for
23       some reason (NFS timeouts or autofs deletes).
24
25       __d_drop requires dentry->d_lock.
26
28Kernel Hackers Manual 3.10         June 2019                       __D_DROP(9)
Impressum