Skip to content

LVM tool paths in glusterd inconsistently spelled #4779

Description

@ThalesBarretto

xlators/mgmt/glusterd/src/snapshot/glusterd-lvm-snapshot.c #includes lvm-defaults.h
and uses the LVS macro at one call site, but hardcodes the identical "/sbin/lvs"
string literal at four others.

The sibling macros in the same header (LVM_CREATE, LVM_REMOVE) are already used
via the macro form elsewhere in this file, so the lvs literals are the odd ones out.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions