]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Remove an unnecessary field from struct blist. (The comment describing
authorAlan Cox <alc@FreeBSD.org>
Sat, 10 Jun 2017 16:11:39 +0000 (16:11 +0000)
committerAlan Cox <alc@FreeBSD.org>
Sat, 10 Jun 2017 16:11:39 +0000 (16:11 +0000)
commit015d7db6b667db98805a67963f7280ab7cf9a6bc
tree6f296142666e51a334dc8ab9a2e6e387b5f8e1df
parentc645060dbb7b6da117f50c8793e0046036b5329c
Remove an unnecessary field from struct blist.  (The comment describing
what this field represented was also inaccurate.)  Suggested by: kib

In r178792, blist_create() grew a malloc flag, allowing M_NOWAIT to be
specified.  However, blist_create() was not modified to handle the
possibility that a malloc() call failed.  Address this omission.

Increase the width of the local variable "radix" to 64 bits.  (This
matches the width of the corresponding field in struct blist.)

Reviewed by: kib
MFC after: 6 weeks
sys/kern/subr_blist.c
sys/sys/blist.h