Rename kdump_check_fence_kdump to kdump_configure_fence_kdump

Renames kdump_check_fence_kdump kdump_configure_fence_kdump to clearly
identify what this function does.

Bug-Url: https://bugzilla.redhat.com/1078134
Signed-off-by: Martin Perina <mperina@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
Martin Perina 2014-04-02 10:33:44 +02:00 committed by WANG Chao
parent 98f58cdc56
commit 0f8c8dd04f

View File

@ -285,7 +285,7 @@ kdump_install_conf() {
esac esac
done < /etc/kdump.conf done < /etc/kdump.conf
kdump_check_fence_kdump kdump_configure_fence_kdump
inst "/tmp/$$-kdump.conf" "/etc/kdump.conf" inst "/tmp/$$-kdump.conf" "/etc/kdump.conf"
rm -f /tmp/$$-kdump.conf rm -f /tmp/$$-kdump.conf
} }
@ -419,7 +419,7 @@ kdump_check_iscsi_targets () {
# setup fence_kdump in cluster # setup fence_kdump in cluster
# setup proper network and install needed files # setup proper network and install needed files
# also preserve '[node list]' for 2nd kernel /etc/fence_kdump_nodes # also preserve '[node list]' for 2nd kernel /etc/fence_kdump_nodes
kdump_check_fence_kdump () { kdump_configure_fence_kdump () {
local nodes local nodes
is_pcs_fence_kdump || return 1 is_pcs_fence_kdump || return 1