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
..
2012-12-20 18:40:52 -05:00
2013-05-07 20:16:25 -07:00
2013-02-22 23:31:31 -05:00
2006-10-02 09:55:27 -05:00
2008-05-13 08:22:10 -05:00
2013-06-29 12:56:42 +04:00
2013-06-29 12:56:42 +04:00
2011-03-31 11:26:23 -03:00
2006-10-02 09:55:27 -05:00
2007-04-26 07:30:29 -05:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-08-09 11:25:17 +02:00
2006-10-02 09:55:27 -05:00
2009-01-09 15:42:04 -06:00
2006-10-02 09:55:27 -05:00
2006-10-02 09:55:27 -05:00
2009-01-09 15:42:04 -06:00
2009-02-02 13:43:28 -06:00
2010-04-16 08:05:50 -05:00