multipath-tools: Remove trailing whitespaces
PATCH 1/1 multipath-tools: Remove trailing whitespaces
Cc Christophe Varoqui <[email protected]>
Cc device-mapper development <[email protected]>
Signed-off-by Xose Vazquez Perez <[email protected]>
--- libdmmp/docs/kernel-doc | 2 +- libmultipath/uevent.c | 12 ++++++------ multipath/multipath.conf.5 | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-)
libdmmp/docs/kernel-doc +1 -1
@@ -414,7 +414,7 @@ my $doc_com = '\s*\*\s*'; my $doc_com_body = '\s*\* ?'; my $doc_decl = $doc_com . '(\w+)'; # @params and a strictly limited set of supported section names -my $doc_sect = $doc_com . +my $doc_sect = $doc_com . '\s*(\@[.\w]+|\@\.\.\.|description|context|returns?|notes?|examples?)\s*:(.*)'; my $doc_content = $doc_com_body . '(.*)'; my $doc_block = $doc_com . 'DOC:\s*(.*)?';
libmultipath/uevent.c +6 -6
@@ -113,7 +113,7 @@ uevent_get_wwid(struct uevent *uev) conf =get_multipath_config (); uid_attribute =parse_uid_attribute_by_attrs (conf->uid_attrs, uev->kernel); -put_multipath_config (conf); +put_multipath_config (conf);if (!uid_attribute)return ;
@@ -138,7 +138,7 @@ uevent_need_merge(void) conf =get_multipath_config ();if (conf->uid_attrs) need_merge = true; -put_multipath_config (conf); +put_multipath_config (conf);return need_merge; }
@@ -173,12 +173,12 @@ uevent_can_discard(struct uevent *uev)if (uevent_can_discard_by_devpath (uev->devpath))return true; -/* +/* * do not filter dm devices by devnode */ if (!strncmp (uev->kernel,"dm-" ,3 ))return false; -/* +/* * filter paths devices by devnode */ conf =get_multipath_config ();
@@ -309,12 +309,12 @@ uevent_filter(struct uevent *later, struct list_head *tmpq) list_for_some_entry_reverse_safe(earlier, tmp, &later->node, tmpq, node) {/* -* filter unnessary earlier uevents +* filter unnessary earlier uevents * by the later uevent */ if (uevent_can_filter (earlier, later)) {condlog (2 ,"uevent: %s-%s has filtered by uevent: %s-%s" , - earlier->kernel, earlier->action, + earlier->kernel, earlier->action, later->kernel, later->action);list_del_init (&earlier->node);
multipath/multipath.conf.5 +1 -1
@@ -208,7 +208,7 @@ The default is: \fBfailover\fR . .TP .B uid_attrs -The udev attribute providing a unique path identifier for corresponding +The udev attribute providing a unique path identifier for corresponding type of path devices. If this field is configured and matched with type of device, it would override any other methods providing for device unique identifier in config file, and it would activate merging uevents
Signature · 1 line
2.12.0
Merged.
Thanks.
Quoted 96 lines · Xose Vazquez Perez
Cc Christophe Varoqui <[email protected]>Cc device-mapper development <[email protected]>Signed-off-by Xose Vazquez Perez <[email protected]>--- libdmmp/docs/kernel-doc | 2 +- libmultipath/uevent.c | 12 ++++++------ multipath/multipath.conf.5 | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-)libdmmp/docs/kernel-doc +1
-1@@ -414,7 +414,7 @@ my $doc_com = '\s*\*\s*'; my $doc_com_body = '\s*\* ?'; my $doc_decl = $doc_com . '(\w+)'; # @params and a strictly limited set of supported section names -my $doc_sect = $doc_com . +my $doc_sect = $doc_com . '\s*(\@[.\w]+|\@\.\.\.|description|context|returns?| notes?|examples?)\s*:(.*)'; my $doc_content = $doc_com_body . '(.*)';my $doc_block = $doc_com . 'DOC:\s*(.*)?';
libmultipath/uevent.c +1
-1@@ -113,7 +113,7 @@ uevent_get_wwid(struct uevent *uev) conf =get_multipath_config (); uid_attribute =parse_uid_attribute_by_attrs (conf->uid_attrs, uev->kernel); -put_multipath_config (conf); +put_multipath_config (conf);if (!uid_attribute)return;libmultipath/uevent.c +5
-5@@ -138,7 +138,7 @@ uevent_need_merge(void) conf =get_multipath_config ();if (conf->uid_attrs) need_merge = true; -put_multipath_config (conf); +put_multipath_config (conf);return need_merge; }@@ -173,12 +173,12 @@ uevent_can_discard(struct uevent *uev)if (uevent_can_discard_by_devpath (uev->devpath))return true; -/* +/* * do not filter dm devices by devnode */ if (!strncmp (uev->kernel,"dm-" ,3 ))return false; -/* +/* * filter paths devices by devnode */ conf =get_multipath_config ();@@ -309,12 +309,12 @@ uevent_filter(struct uevent *later, struct list_head *tmpq) list_for_some_entry_reverse_safe(earlier, tmp, &later->node, tmpq, node) {/* -* filter unnessary earlier uevents +* filter unnessary earlier uevents * by the later uevent */ if (uevent_can_filter (earlier, later)) { condlog(2, "uevent: %s-%s has filtered by uevent: %s-%s", - earlier->kernel, earlier->action, + earlier->kernel, earlier->action,later->kernel, later->action); list_del_init(&earlier->node);multipath/multipath.conf.5 +1
-2@@ -208,7 +208,7 @@ The default is: \fBfailover\fR . .TP .B uid_attrs -The udev attribute providing a unique path identifier for corresponding +The udev attribute providing a unique path identifier for corresponding type of path devices. If this field is configured and matched with type of device, it would override any other methods providing for device unique identifier in config file, and it would activate merging uevents --2.12.0