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)
committerDaniel Rosenberg <drosen@google.com>
Tue, 30 Jan 2018 03:40:10 +0000 (19:40 -0800)
commitd5dadb6c35fc11537280190084ed94b20be26571
treedb9c0f1ca272a8c44375a34f23207c42d09278e3
parent4fce2666e5c252143d8b94ad7e3ccc7ce1f71a8a
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