[sheepdog] [PATCH 0/2] don't use standard assert

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Jul 12 08:49:00 CEST 2013


This fixes a compiler error of the current master branch.

The first patch forces us to use our assert for all the programs
including sheepfs, and the second patch simplifies the logger output
for collie and sheepfs.

MORITA Kazutaka (2):
  clean up logger.h and util.h include
  logger: use simpler formatter by default

 collie/farm/farm.h       |  1 -
 include/compiler.h       |  3 +++
 include/logger.h         | 54 +++++++++++++++---------------------------------
 include/sheep.h          |  1 -
 include/sheepdog_proto.h |  3 ++-
 include/strbuf.h         |  1 -
 include/util.h           | 20 ++++++++----------
 lib/event.c              |  1 -
 lib/logger.c             | 19 ++++++++++++++---
 lib/net.c                |  1 -
 lib/util.c               |  2 --
 lib/work.c               |  1 -
 sheep/cluster.h          |  1 -
 sheep/sheep.c            |  2 +-
 sheep/sheep_priv.h       |  2 +-
 sheepfs/volume.c         |  1 -
 shepherd/shepherd.c      |  3 +--
 17 files changed, 50 insertions(+), 66 deletions(-)

-- 
1.8.1.3.566.gaa39828




More information about the sheepdog mailing list