'\" t .\" Title: dentry_update_name_case .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: The Linux VFS .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "DENTRY_UPDATE_NAME_C" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "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" dentry_update_name_case \- update case insensitive dentry with a new name .SH "SYNOPSIS" .HP \w'void\ dentry_update_name_case('u .BI "void dentry_update_name_case(struct\ dentry\ *\ " "dentry" ", const\ struct\ qstr\ *\ " "name" ");" .SH "ARGUMENTS" .PP \fIstruct dentry * dentry\fR .RS 4 dentry to be updated .RE .PP \fIconst struct qstr * name\fR .RS 4 new name .RE .SH "DESCRIPTION" .PP Update a case insensitive dentry with new case of name\&. .PP dentry must have been returned by d_lookup with name \fIname\fR\&. Old and new name lengths must match (ie\&. no d_compare which allows mismatched name lengths)\&. .PP Parent inode i_mutex must be held over d_lookup and into this call (to keep renames and concurrent inserts, and readdir(2) away)\&. .SH "COPYRIGHT" .br