[PATCH 00/19 v2] mkfs cleaning

Jan Tulak
2016-04-21T09:39:57Z

Updated version. Most notable changes are dropping of
"xfsprogs: disable truncating of files", reverting
"don't treat files as though they are block devices"
back to Dave's version, and adding a new patch
"mkfs: conflicting values with disabled crc should fail."

Dave Chinner (15):
xfsprogs: use common code for multi-disk detection
mkfs: sanitise ftype parameter values.
mkfs: Sanitise the superblock feature macros
mkfs: validate all input values
mkfs: factor boolean option parsing
mkfs: validate logarithmic parameters sanely
mkfs: structify input parameter passing
mkfs: getbool is redundant
mkfs: use getnum_checked for all ranged parameters
mkfs: add respecification detection to generic parsing
mkfs: table based parsing for converted parameters
mkfs: merge getnum
mkfs: encode conflicts into parsing table
mkfs: add string options to generic parsing
mkfs: don't treat files as though they are block devices

Jan Tulak (4):
mkfs: move spinodes crc check
mkfs: unit conversions are case insensitive
mkfs: add optional 'reason' for illegal_option
mkfs: conflicting values with disabled crc should fail

include/Makefile | 5 +-
include/xfs_multidisk.h | 73 ++
libxfs/init.c | 6 +
libxfs/linux.c | 11 +-
man/man8/mkfs.xfs.8 | 45 +-
mkfs/Makefile | 2 +-
mkfs/maxtrres.c | 2 +-
mkfs/proto.c | 58 +-
mkfs/xfs_mkfs.c | 1983 +++++++++++++++++++++++++++++------------------
mkfs/xfs_mkfs.h | 89 ---
repair/xfs_repair.c | 44 +-
11 files changed, 1417 insertions(+), 901 deletions(-)
create mode 100644 include/xfs_multidisk.h
delete mode 100644 mkfs/xfs_mkfs.h

--
2.5.0