d_invalidate(9)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.