viced: Remove logging duplication
authorSimon Wilkinson <sxw@your-file-system.com>
Fri, 8 Apr 2011 15:18:13 +0000 (16:18 +0100)
committerDerrick Brashear <shadow@dementia.org>
Tue, 12 Apr 2011 22:51:56 +0000 (15:51 -0700)
commitb59da7674e2f931b85d111e6a92e12731888883e
tree3ceb0888ac56acd57fcb5644063741c2bd69c796
parentd5ded9afa1764016977a17ef9346dc979bf70ca0
viced: Remove logging duplication

In lots of places in the fileserver we were doing
    ViceLog(0, (x))
    osi_Panic(x)

Remove this duplication by creating a new macro, ViceLogThenPanic,
which does both of these in one fell swoop.

Change-Id: Icea349d60298eba1cca4a45db790f21ba3e7b3c7
Reviewed-on: http://gerrit.openafs.org/4455
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/util/afsutil.h
src/viced/afsfileprocs.c
src/viced/callback.c
src/viced/host.c
src/viced/viced.c