[PATCH 0/2] nilfs-utils: move generic definitions into util.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux BTRFS]     [Linux CIFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux