]> err.no Git - linux-2.6/commit
[XFS] Invalidate dentry in unlink/rmdir if in case-insensitive mode
authorBarry Naujok <bnaujok@sgi.com>
Mon, 16 Jun 2008 02:07:41 +0000 (12:07 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:58:47 +0000 (16:58 +1000)
commitd532506cd8b59543b376e155508f88a03a81dad1
tree554e401cf6bcb9894e0110e05ead0d04d6d0e907
parent87affd08bc9c741b99053cabb908cf54a135a0fa
[XFS] Invalidate dentry in unlink/rmdir if in case-insensitive mode

The vfs_unlink/d_delete functionality in the Linux VFS make the
dentry negative if it is the only inode being referenced. Case-insensitive
mode doesn't work with negative dentries, so if using CI-mode, invalidate
the dentry on unlink/rmdir.

SGI-PV: 983102
SGI-Modid: xfs-linux-melb:xfs-kern:31308a

Signed-off-by: Barry Naujok <bnaujok@sgi.com>
Signed-off-by: Christoph Hellwig <hch@infradead.org>
fs/xfs/linux-2.6/xfs_iops.c