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)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:50 +0000 (17:36 +0800)
commitcd6c4cb713415ae7f02bf7161686aedf4723393c
treeb72ceda725405ba6a0f6e8d4ec8ce6bae56ebf22
parent0782c7902d7ce0dbfb4b915139316b0ac5fba6f8
fs/exfat: do error check for d_splice_alias return

This patch adds error check in case a defect 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