multipath-tools: Remove trailing/leading whitespaces
Subsystems (2)
PATCH 1/1 multipath-tools: Remove trailing/leading whitespaces
Cc Martin Wilck <[email protected]>
Cc Benjamin Marzinski <[email protected]>
Cc Christophe Varoqui <[email protected]>
Cc DM-DEVEL ML <[email protected]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- Makefile.inc | 2 +- libmultipath/configure.c | 2 +- libmultipath/devmapper.c | 4 ++-- libmultipath/sysfs.c | 2 +- multipath/multipath.8 | 2 +- multipathd/cli_handlers.c | 2 +- multipathd/main.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-)
Makefile.inc +1 -1
@@ -101,7 +101,7 @@ OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4 WARNFLAGS := -Werror -Wall -Wextra -Wformat=2 $(WFORMATOVERFLOW) -Werror=implicit-int \ -Werror=implicit-function-declaration -Werror=format-security \ $(WNOCLOBBERED) -Werror=cast-qual $(ERROR_DISCARDED_QUALIFIERS) -CPPFLAGS := -Wp,-D_FORTIFY_SOURCE=2 +CPPFLAGS := -Wp,-D_FORTIFY_SOURCE=2 CFLAGS := --std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \ -DBIN_DIR=\"$(bindir)\" -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\" \ -MMD -MP
libmultipath/configure.c +1 -1
@@ -397,7 +397,7 @@ int setup_map(struct multipath *mpp, char *params, int params_size,start_io_err_stat_thread (vecs); n_paths =VECTOR_SIZE (mpp->paths); -/* +/* * assign paths to path groups -- start with no groups and all paths * in mpp->paths */
libmultipath/devmapper.c +2 -2
@@ -598,8 +598,8 @@ int dm_addmap_reload(struct multipath *mpp, char *params, int flush)return r;/* If the resume failed, dm will leave the device suspended, and -* drop the new table, so doing a second resume will try using -* the original table */ +* drop the new table, so doing a second resume will try using +* the original table */ if (dm_is_suspended (mpp->alias))dm_simplecmd (DM_DEVICE_RESUME , mpp->alias, !flush,1 , udev_flags,0 );
libmultipath/sysfs.c +1 -1
@@ -358,7 +358,7 @@ bool sysfs_is_multipathed(struct path *pp, bool set_wwid)strchop (pp->wwid); } } - }else if (nr <0 ) + }else if (nr <0 )condlog (1 ,"%s: error reading from %s: %m" , __func__, pathbuf);
multipath/multipath.8 +1 -1
@@ -225,7 +225,7 @@ Dry run, do not create or update devmaps. .TP .B \-e Enable all foreign libraries. This overrides the -.I enable_foreign +.I enable_foreign option from \fBmultipath.conf(5)\fR. . .TP
multipathd/cli_handlers.c +1 -1
@@ -1215,7 +1215,7 @@ cli_reconfigure(void * v, char ** reply, int * len, void * data)condlog (2 ,"reconfigure (operator)" ); - rc =set_config_state (DAEMON_CONFIGURE ); + rc =set_config_state (DAEMON_CONFIGURE );if (rc ==ETIMEDOUT ) {condlog (2 ,"timeout starting reconfiguration" );return 1 ;
multipathd/main.c +1 -1
@@ -2014,7 +2014,7 @@ static int check_path_reinstate_state(struct path * pp) {/* If path became failed again or continue failed, should reset * path san_path_err_forget_rate and path dis_reinstate_time to -* start a new stable check. +* start a new stable check. */ if ((pp->state !=PATH_UP ) && (pp->state !=PATH_GHOST ) && (pp->state !=PATH_DELAYED )) {
Signature · 6 lines
2.31.1 -- dm-devel mailing list [email protected] https://listman.redhat.com/mailman/listinfo/dm-devel
Benjamin Marzinski
maintainerQuoted 5 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc DM-DEVEL ML <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>
If no one objects, I'm fine with this going in. But if anyone has objections to a whitespace only patch, I'm o.k. with this not going in as well.
-Ben
Quoted 105 lines
--- Makefile.inc | 2 +- libmultipath/configure.c | 2 +- libmultipath/devmapper.c | 4 ++-- libmultipath/sysfs.c | 2 +- multipath/multipath.8 | 2 +- multipathd/cli_handlers.c | 2 +- multipathd/main.c | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-)Makefile.inc +1
-1@@ -101,7 +101,7 @@ OPTFLAGS := -O2 -g $(STACKPROT) --param=ssp-buffer-size=4 WARNFLAGS := -Werror -Wall -Wextra -Wformat=2 $(WFORMATOVERFLOW) -Werror=implicit-int \ -Werror=implicit-function-declaration -Werror=format-security \ $(WNOCLOBBERED) -Werror=cast-qual $(ERROR_DISCARDED_QUALIFIERS) -CPPFLAGS := -Wp,-D_FORTIFY_SOURCE=2 +CPPFLAGS := -Wp,-D_FORTIFY_SOURCE=2 CFLAGS := --std=gnu99 $(CFLAGS) $(OPTFLAGS) $(WARNFLAGS) -pipe \ -DBIN_DIR=\"$(bindir)\" -DLIB_STRING=\"${LIB}\" -DRUN_DIR=\"${RUN}\" \ -MMD -MPlibmultipath/configure.c +1
-1@@ -397,7 +397,7 @@ int setup_map(struct multipath *mpp, char *params, int params_size,start_io_err_stat_thread (vecs); n_paths =VECTOR_SIZE (mpp->paths); -/* +/* * assign paths to path groups -- start with no groups and all paths * in mpp->paths */ libmultipath/devmapper.c +2
-2@@ -598,8 +598,8 @@ int dm_addmap_reload(struct multipath *mpp, char *params, int flush)return r;/* If the resume failed, dm will leave the device suspended, and -* drop the new table, so doing a second resume will try using -* the original table */ +* drop the new table, so doing a second resume will try using +* the original table */ if (dm_is_suspended (mpp->alias))dm_simplecmd (DM_DEVICE_RESUME , mpp->alias, !flush,1 , udev_flags,0 );libmultipath/sysfs.c +1
-1@@ -358,7 +358,7 @@ bool sysfs_is_multipathed(struct path *pp, bool set_wwid)strchop (pp->wwid); } } - }else if (nr <0 ) + }else if (nr <0 )condlog (1 ,"%s: error reading from %s: %m" , __func__, pathbuf);multipath/multipath.8 +1
-1@@ -225,7 +225,7 @@ Dry run, do not create or update devmaps. .TP .B \-e Enable all foreign libraries. This overrides the -.I enable_foreign +.I enable_foreign option from \fBmultipath.conf(5)\fR. . .TPmultipathd/cli_handlers.c +1
-1@@ -1215,7 +1215,7 @@ cli_reconfigure(void * v, char ** reply, int * len, void * data)condlog (2 ,"reconfigure (operator)" ); - rc =set_config_state (DAEMON_CONFIGURE ); + rc =set_config_state (DAEMON_CONFIGURE );if (rc ==ETIMEDOUT ) {condlog (2 ,"timeout starting reconfiguration" );return 1 ;multipathd/main.c +1
-1@@ -2014,7 +2014,7 @@ static int check_path_reinstate_state(struct path * pp) {/* If path became failed again or continue failed, should reset * path san_path_err_forget_rate and path dis_reinstate_time to -* start a new stable check. +* start a new stable check. */ if ((pp->state !=PATH_UP ) && (pp->state !=PATH_GHOST ) && (pp->state !=PATH_DELAYED )) {Signature · 1 line
2.31.1
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 11 lines · Benjamin Marzinski
Quoted 5 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc DM-DEVEL ML <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>If no one objects, I'm fine with this going in. But if anyone has objections to a whitespace only patch, I'm o.k. with this not going in
as well.
I'm fine with this, as long as we don't get another patch of this kind every other day.
Martin
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel
Quoted 5 lines · Xose Vazquez Perez
Cc Martin Wilck <[email protected]>Cc Benjamin Marzinski <[email protected]>Cc Christophe Varoqui <[email protected]>Cc DM-DEVEL ML <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>
Reviewed-by Martin Wilck <[email protected]>
--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel