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)
committerAmit Pundir <amit.pundir@linaro.org>
Fri, 3 Feb 2017 09:35:18 +0000 (15:05 +0530)
commitff7ec8435b3d33d76bf57301f51287343b9487b0
tree533d7210178557aa0d66c96f5ec1a5d61f23e8e3
parent9272927251f868d51431d1918f3b02cc17bb50fc
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.

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