'\" t .\" Title: d_invalidate .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "D_INVALIDATE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "The Linux VFS" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" d_invalidate \- detach submounts, prune dcache, and drop .SH "SYNOPSIS" .HP \w'void\ d_invalidate('u .BI "void d_invalidate(struct\ dentry\ *\ " "dentry" ");" .SH "ARGUMENTS" .PP \fIdentry\fR .RS 4 dentry to invalidate (aka detach, prune and drop) .RE .SH "DESCRIPTION" .PP no dcache lock\&. .PP 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\&. .SH "COPYRIGHT" .br