1D_INVALIDATE(9) The Linux VFS D_INVALIDATE(9)
2
3
4
6 d_invalidate - detach submounts, prune dcache, and drop
7
9 int d_invalidate(struct dentry * dentry);
10
12 dentry
13 dentry to invalidate (aka detach, prune and drop)
14
16 no dcache lock.
17
18 The final d_drop is done as an atomic operation relative to rename_lock
19 ensuring there are no races with d_set_mounted. This ensures there are
20 no unhashed dentries on the path to a mountpoint.
21
23Kernel Hackers Manual 3.10 June 2019 D_INVALIDATE(9)