]> git.michaelhowe.org Git - packages/o/openafs.git/commit
afs: Define afs_warnall routine
authorPerry Ruiter <pruiter@sinenomine.net>
Sat, 22 Mar 2014 07:52:32 +0000 (00:52 -0700)
committerStephan Wiesand <stephan.wiesand@desy.de>
Wed, 23 Jul 2014 15:13:17 +0000 (11:13 -0400)
commit17d0e8c012bd2d4ad9a0004b04943525b38c6b0f
tree007a2cb056f2416a3426f549411e49e92ded00c1
parent6f9038dcbe01370e275cc2391397841e93d86eb2
afs: Define afs_warnall routine

In a Linux environment afs_warn and afs_warnuser both go to
the same spot, resulting in duplicated messages if both are
invoked back to back.  Define a new function afs_warnall
for use when identical messages are directed to both warn
and warnuser.  In a Linux environment it will do the right
thing and present only one copy of the message.

Reviewed-on: http://gerrit.openafs.org/10943
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: D Brashear <shadow@your-file-system.com>
(cherry picked from commit a70f8e1a7e3fcbc13c9a60f8a7409dd01d014afb)

Change-Id: I264633cd4a30cfb7f7264e56512f318cfb23ef3e
Reviewed-on: http://gerrit.openafs.org/11182
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Chas Williams - CONTRACTOR <chas@cmf.nrl.navy.mil>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
src/afs/afs_prototypes.h
src/afs/afs_warn.c