ANDROID: sdcardfs: d_splice_alias can return error values
authorDaniel Rosenberg <drosen@google.com>
Wed, 7 Jun 2017 19:44:50 +0000 (12:44 -0700)
committerStricted <info@stricted.net>
Thu, 11 Oct 2018 16:03:41 +0000 (18:03 +0200)
commit9b1ce8d1b18268b9aa8a56c19a3202758f57ae97
tree8f6dedbe5ee5a00cc2d4df3df0dda283389dd945
parente332f59915ff620bb2ce50da95fcf8208bdf2e43
ANDROID: sdcardfs: d_splice_alias can return error values

We must check that d_splice_alias was successful before using its
output.

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