This series gathers up some generic macros and moves them into
include/util.h to make them reusable, and then, simplifies a part of
min/max calculations with the moved macros, min_t() and max_t().

Ryusuke Konishi
--
Ryusuke Konishi (2):
      nilfs-utils: move utility definitions into util.h
      nilfs-utils: use min_t() and max_t()

 bin/lscp.c                       |    8 +++----
 bin/lssu.c                       |    3 ++-
 include/Makefile.am              |    2 +-
 include/util.h                   |   49 ++++++++++++++++++++++++++++++++++++++
 lib/cnoconv.c                    |    5 ++--
 lib/gc.c                         |    8 +++----
 lib/nilfs.c                      |    8 ++++---
 sbin/cleanerd/cleanerd.c         |   27 ++++-----------------
 sbin/mkfs/mkfs.c                 |   27 +++++++--------------
 sbin/nilfs-resize/nilfs-resize.c |   21 ++--------------
 10 files changed, 83 insertions(+), 75 deletions(-)
 create mode 100644 include/util.h


--
To unsubscribe from this list: send the line "unsubscribe linux-nilfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to