OpenAFS Master Repository branch, master, updated. BP-openafs-stable-1_8_x-39-g0760feb

Gerrit Code Review
Mon, 8 Jan 2018 21:47:28 -0500

The following commit has been merged in the master branch:
commit 0760feb7992e1e39f716c5f583fe7f6e85584262
Author: Benjamin Kaduk <>
Date:   Thu Jan 4 22:00:15 2018 -0600

    rx: remove trailing semicolons from FBSD mutex operations
    Since the first introduction of FreeBSD support, the macros
    (MUTEX_ENTER, etc.) for kernel mutex operations have included
    trailing semicolons, unique among all the platforms.
    This did not cause problems until the recent work on rx event
    handlers, which put a MUTEX_ENTER() in the body of an 'if' clause
    with no brackets, and attempted to follow it with an 'else' clause.
    This results in the following (rather obtuse) compiler error:
       /root/openafs/src/rx/rx.c:3666:5: error: expected expression
    Which is more visible in the preprocessed source, as
       if (condition)
    is clearly invalid C.
    To fix the FreeBSD kernel module build, remove the unneeded semicolons.
    Change-Id: I191009ad412852dcc03cd71a0982fe41a953301d
    Tested-by: BuildBot <>
    Reviewed-by: Benjamin Kaduk <>

 src/rx/FBSD/rx_kmutex.h |   26 +++++++++++++-------------
 1 files changed, 13 insertions(+), 13 deletions(-)

OpenAFS Master Repository