Re: [PATCH] imsm: fix reading scsi serial
From: Jes Sorensen <jes.sorensen@gmail.com>
Date: 2017-11-02 15:33:26
From: Jes Sorensen <jes.sorensen@gmail.com>
Date: 2017-11-02 15:33:26
On 11/02/2017 11:10 AM, Artur Paszkiewicz wrote:
Improve error detection after SG_IO ioctl. Checking only the return value and response length is insufficient and leads to anomalies if a drive does not have a serial number. Reported-by: NeilBrown <redacted> Tested-by: NeilBrown <redacted> Signed-off-by: Artur Paszkiewicz <redacted> --- Mailing list discussion: https://marc.info/?l=linux-raid&m=150950864700415&w=2 sg_io.c | 3 +++ 1 file changed, 3 insertions(+)
Seems reasonable - applied! Thanks, Jes