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
..
2013-02-22 23:31:31 -05:00
2013-06-29 12:56:47 +04:00
2009-06-15 21:44:43 -07:00
2009-01-22 13:15:55 +03:00
2005-04-16 15:20:36 -07:00
2005-06-21 19:07:38 -07:00
2005-04-25 18:32:12 -07:00