fs/exfat: do error check for d_splice_alias return
authorShiyong Li <a22381@motorola.com>
Sat, 9 Dec 2017 01:38:24 +0000 (17:38 -0800)
committerxiest1 <xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:26 +0000 (17:30 +0800)
commit720451566c14eaf558fdac5707aa841ea806f14e
treef73b4dbdf258276ff02e5ba904464e163f3ad72a
parente5c2f620513b959d1279732a96222d99165e05c3
fs/exfat: do error check for d_splice_alias return

This patch adds error check in case a Defenderect exFAT SD cards is inserted.

Change-Id: I37f6b8716abd556908aad72b18fcc7ac5719766e
Signed-off-by: Min Shi <e13386@motorola.com>
Signed-off-by: Shiyong Li <a22381@motorola.com>
Reviewed-on: https://gerrit.mot.com/1102184
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Igor Kovalenko <igork@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1276885
Reviewed-by: Hua Tan <tanhua1@motorola.com>
fs/exfat/exfat_super.c