Commit 941b7dce authored by Gopal Tiwari's avatar Gopal Tiwari Committed by Yang Yingliang
Browse files

nvme: fix NULL derefence in nvme_ctrl_fast_io_fail_tmo_show/store

mainline inclusion
from mainline-v5.13-rc1
commit d6609084
category: bugfix
bugzilla: NA
CVE: NA
Link: https://gitee.com/openeuler/kernel/issues/I4JFPM?from=project-issue



-------------------------------------------------

Adding entry for dev_attr_fast_io_fail_tmo to avoid the kernel crash
while reading and writing the fast_io_fail_tmo.

Fixes: 09fbed63 (nvme: export fast_io_fail_tmo to sysfs)
Signed-off-by: default avatarGopal Tiwari <gtiwari@redhat.com>
Reviewed-by: default avatarKeith Busch <kbusch@kernel.org>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarjiangtao <jiangtao62@huawei.com>
Reviewed-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 8cacb011
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment