Skip to content

A handful of small cleanups and improvements

Dan McGee linux-nilfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Add .gitignore rules for generated binariesbin/.gitignore sbin/cleanerd/.gitignore sbin/mkfs/.gitignore +4 more+13 -00 replies
2/7umount.nilfs2 (libmount): send proper error code to complain functionsbin/mount/umount_libmount.c+1 -30 replies
3/7Remove kern_compat.hinclude/Makefile.am include/kern_compat.h lib/feature.c +2 more+4 -541 reply
4/7Alpha sort AC_CHECK_FUNCS list in configure.acconfigure.ac+4 -40 replies
5/7Use strtoull instead of strtoul where applicablebin/dumpseg.c sbin/nilfs-clean/nilfs-clean.c+3 -30 replies
6/7rmcp/chcp: sanity check for positive checkpoint numberbin/Makefile.am bin/chcp.c include/cno.h +1 more+27 -120 replies
7/7rmcp: print sensible error message on permission failurebin/rmcp.c+6 -45 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] A handful of small cleanups and improvements

This is a short series of patches with some improvements and code cleanups. Most should be rather independent of each other and I'm definitely open to any feedback.

Dan McGee (7):
Add .gitignore rules for generated binaries
umount.nilfs2 (libmount): send proper error code to complain function Remove kern_compat.h
Alpha sort AC_CHECK_FUNCS list in configure.ac
Use strtoull instead of strtoul where applicable rmcp/chcp: sanity check for positive checkpoint number
rmcp: print sensible error message on permission failure

 bin/.gitignore                 |    6 +++++
 bin/Makefile.am                |    2 +-
 bin/chcp.c                     |    7 +++--
 bin/dumpseg.c                  |    4 +-
 bin/rmcp.c                     |   10 +++++---
 configure.ac                   |    8 +++---
 include/Makefile.am            |    2 +-
 include/cno.h                  |    1 +
 include/kern_compat.h          |   47 ----------------------------------------
 lib/cno.c                      |   29 +++++++++++++++++------
 lib/feature.c                  |    2 +-
 sbin/cleanerd/.gitignore       |    1 +
 sbin/mkfs/.gitignore           |    1 +
 sbin/mkfs/mkfs.c               |    3 +-
 sbin/mkfs/mkfs.h               |    4 ---
 sbin/mount/.gitignore          |    2 +
 sbin/mount/umount_libmount.c   |    4 +--
 sbin/nilfs-clean/.gitignore    |    1 +
 sbin/nilfs-clean/nilfs-clean.c |    2 +-
 sbin/nilfs-resize/.gitignore   |    1 +
 sbin/nilfs-tune/.gitignore     |    1 +
 21 files changed, 58 insertions(+), 80 deletions(-)
 create mode 100644 bin/.gitignore
 delete mode 100644 include/kern_compat.h
 create mode 100644 sbin/cleanerd/.gitignore
 create mode 100644 sbin/mkfs/.gitignore
 create mode 100644 sbin/mount/.gitignore
 create mode 100644 sbin/nilfs-clean/.gitignore
 create mode 100644 sbin/nilfs-resize/.gitignore
 create mode 100644 sbin/nilfs-tune/.gitignore
Signature · 6 lines
1.7.8

--
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