OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-626-g7c9fb44
Gerrit Code Review
gerrit@openafs.org
Fri, 19 Jun 2020 12:57:36 -0400
The following commit has been merged in the master branch:
commit 7c9fb4455745ed0015d4a6311bd4a7770efbf40d
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Thu Jun 18 13:43:35 2020 -0400
LINUX: replace BUG() call with osi_Panic() in osi_linux_free
If osi_linux_free fails, it printf's an error message, then calls BUG().
This is the sole open-coded call to BUG() in OpenAFS; all other calls
to BUG() are indirect via osi_Panic().
For consistency, eliminate this direct BUG() call by replacing the
printf and BUG() with an equivalent osi_Panic(). This also ensures that
the error messsage is logged as critical, and prefixed with "openafs:".
Change-Id: Id319dffa859308528a66991bbbc522ca49552d51
Reviewed-on: https://gerrit.openafs.org/14250
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
src/afs/LINUX/osi_alloc.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
--
OpenAFS Master Repository