Linus Torvalds da53be12bb Don't pass inode to ->d_hash() and ->d_compare()
Instances either don't look at it at all (the majority of cases) or
only want it to find the superblock (which can be had as dentry->d_sb).
A few cases that want more are actually safe with dentry->d_inode -
the only precaution needed is the check that it hadn't been replaced with
NULL by rmdir() or by overwriting rename(), which case should be simply
treated as cache miss.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2013-06-29 12:57:36 +04:00
..
2009-01-06 15:59:19 -08:00
2005-04-16 15:20:36 -07:00
2009-01-22 13:16:01 +03:00
2011-03-17 14:02:57 +01:00
2013-02-22 23:31:31 -05:00
2012-01-03 22:55:05 -05:00
2012-01-03 22:55:05 -05:00