[dm-devel] [PATCH v2 0/2] Small multipath fixes

Martin Wilck mwilck at suse.com
Wed May 17 15:24:44 UTC 2017


Two minor fixes that I found necessary recently.

Both touch potentially bigger issues - the first one print.c, which
might need some general overhaul at some time in the future, and the
second one the build process of multipath tools, which is currently
lacking an "autobuild" mechanism.

My intention at was to keep the patches small and non-controversial,
therefore I didn't delve into the big issues just yet.

Changes wrt v1 (suggestions by Bart Van Assche):
- patch 1/2: replaced ENDLINE by a function
- patch 2/2: Removed nonstandard <<< construct, and made sure STACKPROT is only
  set once per makefile.

Martin Wilck (2):
  libmultipath: print.c: make sure lines are 0-terminated
  multipath-tools: fix compilation with gcc < 4.9

 Makefile.inc         | 15 ++++++++++++++-
 libmultipath/print.c | 25 +++++++++++++++++--------
 2 files changed, 31 insertions(+), 9 deletions(-)

-- 
2.12.2




More information about the dm-devel mailing list