aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/files.amd64
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2018-10-12 16:55:28 +0000
committerAlexander Motin <mav@FreeBSD.org>2018-10-12 16:55:28 +0000
commit178777f51651998de71bea1e054091a26b556697 (patch)
tree4e8be7f8e3f59290931e81e38f923bb9235e594a /sys/conf/files.amd64
parent0f31e1e6a8be7c82ab90e7c06a7b64547fab1764 (diff)
downloadsrc-178777f51651998de71bea1e054091a26b556697.tar.gz
src-178777f51651998de71bea1e054091a26b556697.zip
Avoid zero-sized kmem_alloc() in vdev_compact_children().
The device evacuation code adds a dependency that vdev_compact_children() be able to properly empty the vdev_child array by setting it to NULL and zeroing vdev_children. Under Linux, kmem_alloc() and related functions return a sentinel pointer rather than NULL for zero-sized allocations. This is a part of ZoL port of device removal patch: commit a1d477c24c7badc89c60955995fd84d311938486 Author: Matthew Ahrens <mahrens@delphix.com> Ported-by: Tim Chase <tim@chase2k.com> Approved by: re (kib) MFC after: 1 week
Notes
Notes: svn path=/head/; revision=339335
Diffstat (limited to 'sys/conf/files.amd64')
0 files changed, 0 insertions, 0 deletions