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)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 21 Jun 2017 11:09:30 +0000 (16:39 +0530)
commit71efbfbf131d77d61c61ee1766d80d5ff68a72bf
tree3145d48cf8dbbea2bcf02849b1c0d2f42712fabd
parent36a6c648e2dfeb9d1cd16069b33ed2c2c42db63e
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