diff options
author | Barry Naujok <bnaujok@sgi.com> | 2008-05-21 08:50:46 +0200 |
---|---|---|
committer | Niv Sardi <xaiki@debian.org> | 2008-07-28 08:58:39 +0200 |
commit | 9403540c0653122ca34884a180439ddbfcbcb524 (patch) | |
tree | 40b5fb192900c61a1c91be6ae8ea7432b61f18aa /fs/xfs/xfs_dir2_node.c | |
parent | [XFS] Add op_flags field and helpers to xfs_da_args (diff) | |
download | linux-9403540c0653122ca34884a180439ddbfcbcb524.tar.xz linux-9403540c0653122ca34884a180439ddbfcbcb524.zip |
dcache: Add case-insensitive support d_ci_add() routine
This add a dcache entry to the dcache for lookup, but changing the name
that is associated with the entry rather than the one passed in to the
lookup routine.
First, it sees if the case-exact match already exists in the dcache and
uses it if one exists. Otherwise, it allocates a new node with the new
name and splices it into the dcache.
Original code from ntfs_lookup in fs/ntfs/namei.c by Anton Altaparmakov.
Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
Acked-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'fs/xfs/xfs_dir2_node.c')
0 files changed, 0 insertions, 0 deletions