Skip to content

glusterd/snapshot: use the LVS macro instead of hardcoding "/sbin/lvs" - #4780

Open
ThalesBarretto wants to merge 1 commit into
gluster:develfrom
ThalesBarretto:fix-dry-program-paths-category-1
Open

glusterd/snapshot: use the LVS macro instead of hardcoding "/sbin/lvs"#4780
ThalesBarretto wants to merge 1 commit into
gluster:develfrom
ThalesBarretto:fix-dry-program-paths-category-1

Conversation

@ThalesBarretto

Copy link
Copy Markdown
Contributor

Fixes: #4779

<glusterfs/lvm-defaults.h>, already defines LVS as "/sbin/lvs", already used in glusterd_lvm_brick_details(). Route the other four references through the LVS macro for consistency.

<glusterfs/lvm-defaults.h>, already defines LVS as "/sbin/lvs", already
used in  glusterd_lvm_brick_details(). Route the other four references
through the LVS macro for consistency with the LVM_CREATE/LVM_REMOVE
usage already present in the same file. No behavioural change.

Signed-off-by: Thales Antunes de Oliveira Barretto <thales.barretto.git@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LVM tool paths in glusterd inconsistently spelled

1 participant