ANDROID: sdcardfs: Use filesystem specific hash
authorDaniel Rosenberg <drosen@google.com>
Fri, 21 Apr 2017 01:05:02 +0000 (18:05 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 1 May 2017 09:58:32 +0000 (15:28 +0530)
commit9b2a5cdae059228e8039c0a779c4b77006b79438
tree1862a6756cc914c93a940f213ae190a4646f4b6e
parent1b8e8e800bd46c829d9a416a9b61630aef8d484f
ANDROID: sdcardfs: Use filesystem specific hash

We weren't accounting for FS specific hash functions,
causing us to miss negative dentries for any FS that
had one.

Similar to a patch from esdfs
commit 75bd25a9476d ("esdfs: support lower's own hash")

Signed-off-by: Daniel Rosenberg <drosen@google.com>
Change-Id: I32d1ba304d728e0ca2648cacfb4c2e441ae63608
fs/sdcardfs/lookup.c