Re: [PATCH] Don't assume VMD sysfs path ends with a disk entry

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

 



Tomasz Majchrzak <tomasz.majchrzak@xxxxxxxxx> writes:
> From: Alexey Obitotskiy <aleksey.obitotskiy@xxxxxxxxx>
>
> From: Alexey Obitotskiy <aleksey.obitotskiy@xxxxxxxxx>
> Date: Wed, 4 Jan 2017 11:31:23 +0100
>
> When VMD is enabled but no drive is attached to the PCIe port, mdadm
> crashes trying to parse the path. Skip entry if valid path has not been
> returned. Do it early to avoid unnecessary memory allocation.
>
> Signed-off-by: Alexey Obitotskiy <aleksey.obitotskiy@xxxxxxxxx>
> Signed-off-by: Tomasz Majchrzak <tomasz.majchrzak@xxxxxxxxx>
> ---
>  platform-intel.c | 33 +++++++++++++++++++++------------
>  1 file changed, 21 insertions(+), 12 deletions(-)

Applied!

I had to fixup the commit message since your message had a mail header
from Alaexy as well.

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



[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux