ocf: use glusterd-workdir for finding volume status files
The volume status files are located in the glusterd-workdir, not under /etc (sysconfdir). BUG: 1234873 Change-Id: Id7f7c83261bb4b5ac2fc104dcd6cb198d6a930aa Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
3e3ca8307e
commit
9b8de6421e
@ -70,7 +70,7 @@ EOF
|
||||
|
||||
volume_getdir() {
|
||||
local voldir
|
||||
voldir="@sysconfdir@/glusterd/vols/${OCF_RESKEY_volname}"
|
||||
voldir="@GLUSTERD_WORKDIR@/vols/${OCF_RESKEY_volname}"
|
||||
|
||||
[ -d ${voldir} ] || return 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user