RE: [PATCH v4 3/3] Rework handling of scsi_device.vpd_pg8[03]

2017-08-29 Thread Seymour, Shane M
> Introduce struct scsi_vpd for the VPD page length, data and the > RCU head that will be used to free the VPD data. Use kfree_rcu() > instead of kfree() to free VPD data. Move the VPD buffer pointer > check inside the RCU read lock in the sysfs code. Only annotate > pointers that are shared across

Re: [PATCH v4 3/3] Rework handling of scsi_device.vpd_pg8[03]

2017-08-31 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig