[PATCH 0/2] target: Fix bugs when dealing with unconfigured devices

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

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi folks,

These two patches address two bugs that I've ran across when dealing with
backend devices that have failed to be successfully enabled, and remain
in an unconfigured state.

The first is a v3.8-rc1 specific regression due to fallout from the removal
of struct se_subsystem_dev, and the second is to avoid a possible divide by
zero when writing fabric_max_sectors when no block_size has been set by the
device.

The latter is being CC'ed to stable.

Thanks,

--nab

Nicholas Bellinger (2):
  target: Fix regression allowing unconfigured devices to fabric port
    link
  target: Fix divide by zero bug in fabric_max_sectors for unconfigured
    devices

 drivers/target/target_core_device.c          |    8 +++++++-
 drivers/target/target_core_fabric_configfs.c |    5 +++++
 2 files changed, 12 insertions(+), 1 deletions(-)

-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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