d_invalidate9
Detach submounts, prune dcache, and drop
Usage
void d_invalidate(struct dentry * dentry);
Arguments
dentry
dentry to invalidate (aka detach, prune and drop)
Overview
no dcache lock.
The final d_drop is done as an atomic operation relative to rename_lock ensuring there are no races with d_set_mounted. This ensures there are no unhashed dentries on the path to a mountpoint.
Releases
6 releases since Debian 4.0 (Etch); the text changed 5 times.