On Wed, Oct 11, 2017 at 01:22:18PM -0400, Martin K. Petersen wrote: > > weiping, > > > /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 > > Please switch to kstrtobool() and fix up manage_start_stop as well. > > Thanks! > Thanks, I'll send v2 later.
- [PATCH] scsi: sd: add check for changing allow_restart weiping zhang
- Re: [PATCH] scsi: sd: add check for changing allow... weiping zhang
- Re: [PATCH] scsi: sd: add check for changing allow... Martin K. Petersen
- Re: [PATCH] scsi: sd: add check for changing a... weiping zhang