Skip to content
Commit 733ba346 authored by Minjie Du's avatar Minjie Du Committed by Keith Busch
Browse files

nvme: fix parameter check in nvme_fault_inject_init()



Make IS_ERR() judge the debugfs_create_dir() function return.

Signed-off-by: default avatarMinjie Du <duminjie@vivo.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarKeith Busch <kbusch@kernel.org>
parent b718ae83
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment