]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r348352, r348354
authorKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 03:06:37 +0000 (03:06 +0000)
committerKyle Evans <kevans@FreeBSD.org>
Thu, 24 Oct 2019 03:06:37 +0000 (03:06 +0000)
commit38b3dd8c637048eec1003a9e1e87bb372fc1cd54
tree224807aa68573d767af4bcbb739ce9d58b8ed52c
parent430ca4f2240df7bd8b368e39fdcae69d1068869d
MFC r348352, r348354

r348352:
loader: zfs_alloc and zfs_free should use panic

The zfs alloc and free code print out the error and get stuck in infinite
loop; use panic() instead.

r348354:
loader: malloc+memset is calloc in spa_create

Replace malloc + memset pair with calloc.
stand/libsa/zfs/zfsimpl.c