[PATCH 0/2] Rework handling of scsi_device.vpd_pg8[03]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Martin,

The conclusion of a recent discussion about the handling of SCSI device VPD
data is that the code should be reworked such that that data is freed through
kfree_rcu() instead of kfree(). The two patches in this series realize this
and also simplify the VPD code somewhat. Please consider these patches for
kernel v4.14.

Thanks,

Bart.

Bart Van Assche (2):
  Introduce scsi_get_vpd_buf()
  Rework handling of scsi_device.vpd_pg8[03]

 drivers/scsi/scsi.c        | 116 +++++++++++++++++++++------------------------
 drivers/scsi/scsi_lib.c    |  16 +++----
 drivers/scsi/scsi_sysfs.c  |  26 +++++++---
 include/scsi/scsi_device.h |  18 +++++--
 4 files changed, 95 insertions(+), 81 deletions(-)

-- 
2.14.1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]

  Powered by Linux