fold _d_rehash() and __d_rehash() together
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 29 Jul 2016 21:45:21 +0000 (17:45 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 29 Jul 2016 21:45:21 +0000 (17:45 -0400)
commit15d3c589f6305c50a705572dbb33620c5cba416c
tree77388e7718be7a81d9e83983b535768df552986f
parentd614146d18159e54d4dfc289e4c1534ccc485cf2
fold _d_rehash() and __d_rehash() together

The only place where we feed to __d_rehash() something other than
d_hash(dentry->d_name.hash) is __d_move(), where we give it d_hash
of another dentry.  Postpone rehashing until we'd switched the
names and we are rid of that exception, along with the need to
keep _d_rehash() and __d_rehash() separate.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/dcache.c