ANDROID: sdcardfs: switch to full_name_hash and qstr
authorDaniel Rosenberg <drosen@google.com>
Sat, 28 Jan 2017 03:35:08 +0000 (19:35 -0800)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:03 +0000 (19:40 -0800)
commitdb57a6fd32445c9e85582166a64b4dbab072b61f
treefe005bc52b7cb82393c78e5683b6da9b34bdc943
parent0edc9bf9dee3c9e8b3259534751a4e1372b5325a
ANDROID: sdcardfs: switch to full_name_hash and qstr

Use the kernel's string hash function instead of rolling
our own. Additionally, save a bit of calculation by using
the qstr struct in place of strings.

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