]> git.neil.brown.name Git - mdadm.git/commit
Lib.c: Fix geting devname for devices with long path
authorPawel Baldysiak <pawel.baldysiak@intel.com>
Fri, 21 Oct 2016 09:37:51 +0000 (11:37 +0200)
committerJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 26 Oct 2016 16:03:25 +0000 (12:03 -0400)
commit52a94085618472abf768aa32c5ebe22336433fa5
treeee9febba6c358f59971ca38b703b0d3920ec9f25
parent07cb1e57e0465974826601556a28985533d51639
Lib.c: Fix geting devname for devices with long path

In scenario where VMD is enabled, and "x8" type of NVMe drive is
plugged into PCIe switch - the path will be longer than 200 chars
(additional VMD domain + 2 level of PCIe switches).
This patch makes the buffer big enough to handle this kind of
configurations.

Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
lib.c