dentry_update_name_case(9)

dentry_update_name_case9

Update case insensitive dentry with a new name

Usage

void dentry_update_name_case(struct dentry * dentry, const struct qstr * name);

Arguments

dentry

dentry to be updated

name

new name

Overview

Update a case insensitive dentry with new case of name.

dentry must have been returned by d_lookup with name name. Old and new name lengths must match (ie. no d_compare which allows mismatched name lengths).

Parent inode i_mutex must be held over d_lookup and into this call (to keep renames and concurrent inserts, and readdir(2) away).

Releases

3 releases since Debian 7 (Wheezy); the text changed 2 times.

  1. 7
  2. 8
  3. 9

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