[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220331152622.616534-1-haowenchao@huawei.com>
Date: Thu, 31 Mar 2022 11:26:22 -0400
From: Wenchao Hao <haowenchao@...wei.com>
To: <fmdefrancesco@...il.com>
CC: <axboe@...nel.dk>, <dan.carpenter@...cle.com>,
<jejb@...ux.ibm.com>, <linux-block@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-scsi@...r.kernel.org>,
<martin.petersen@...cle.com>,
<syzbot+f08c77040fa163a75a46@...kaller.appspotmail.com>,
<syzkaller-bugs@...glegroups.com>, <linfeilong@...wei.com>,
<haowenchao@...wei.com>
Subject: Re: [PATCH] scsi: sd: call device_del() if device_add_disk() fails
I do not think it's necessary to call device_del() on this path. If the device
has been added, put_device() would delete it from sysfs. So the origin error
handle is ok with me.
Powered by blists - more mailing lists