Re: [PATCH] scsi: sd: add check for changing allow_restart

2017-10-07 Thread weiping zhang
On Thu, Sep 28, 2017 at 12:53:18AM +0800, weiping zhang wrote: > /sys/class/scsi_disk/0:2:0:0/allow_restart can be changed to 0 unexpectly by > writing invalid string, like following: > > echo asdf > /sys/class/scsi_disk/0:2:0:0/allow_restart > > Signed-off-by: weiping zhang > --- > drivers/scs

[GIT PULL] SCSI fixes for 4.14-rc3

2017-10-07 Thread James Bottomley
A couple of serious fixes (use after free and blacklist for WRITE SAME).  One error leg fix (write_pending failure) and one user experience problem (do not override max_sectors_kb) and one minor unused function removal (iscsi_destroy_session). The patch is available here: git://git.kernel.org/pub