Re: [PATCH] scsi: sg: Prevent potential double frees in sg driver

From: Christoph Hellwig
Date: Sat Aug 05 2017 - 07:37:55 EST


This looks correct and safe to me, but I wonder if anyone relies
on multi-threaded /dev/sg write usage, which would be completely
serialized with this.