sdcardfs: Check for other cases on path lookup
authorDaniel Rosenberg <drosen@google.com>
Wed, 27 Apr 2016 22:31:29 +0000 (15:31 -0700)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:16 +0000 (18:03 +0200)
commitd678307708bc4c3d91cfdef2592f0e4b8a993615
treeb992264dc46bd5d25ad5e8578368fedf87e29269
parent0685edcfd4b28906880c95f1bfb3337905f0dc0c
sdcardfs: Check for other cases on path lookup

This fixes a bug where the first lookup of a
file or folder created under a different view
would not be case insensitive. It will now
search through for a case insensitive match
if the initial lookup fails.

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