aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/zpool/zpool_util.h
diff options
context:
space:
mode:
authorBrian Atkinson <[email protected]>2020-06-16 11:05:22 -0600
committerGitHub <[email protected]>2020-06-16 10:05:22 -0700
commit0a03495e3ee75b3457181910081e809dda80cec0 (patch)
treee378bb35226740775843fbeb0baece40a9989163 /cmd/zpool/zpool_util.h
parentc13facb9c4a036034ff8d898857a81c64c83dc09 (diff)
Fixing ABD struct allocation for FreeBSD
In the event we are allocating a gang ABD in FreeBSD we are passing 0 to abd_alloc_struct(); however, this led to an allocation of ABD scatter with 0 chunks. This left the gang ABD allocation 24 bytes smaller than it should have been. Reviewed-by: Matt Macy <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Co-authored-by: Matt Macy <[email protected]> Signed-off-by: Brian Atkinson <[email protected]> Closes #10431
Diffstat (limited to 'cmd/zpool/zpool_util.h')
0 files changed, 0 insertions, 0 deletions