aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorChandrakanth patil <[email protected]>2022-03-24 02:47:11 -0700
committerMartin K. Petersen <[email protected]>2022-04-06 22:58:17 -0400
commit56495f295d8e021f77d065b890fc0100e3f9f6d8 (patch)
tree80d08fe738d35a9d0d3ccb178defacdf34585c17 /lib/mpi/mpiutil.c
parentbfb7789bcbd901caead43861461bc8f334c90d3b (diff)
scsi: megaraid_sas: Target with invalid LUN ID is deleted during scan
The megaraid_sas driver supports single LUN for RAID devices. That is LUN 0. All other LUNs are unsupported. When a device scan on a logical target with invalid LUN number is invoked through sysfs, that target ends up getting removed. Add LUN ID validation in the slave destroy function to avoid the target deletion. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chandrakanth patil <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions