From 3e6e353bf70b09b453f0a1bf47c44beb883c6589 Mon Sep 17 00:00:00 2001 From: Martin Perina Date: Wed, 2 Apr 2014 10:33:45 +0200 Subject: [PATCH] Rename check_fence_kdump to check_pcs_fence_kdump Renames check_fence_kdump to check_pcs_fence_kdump to clearly identify that this method checks only Pacemaker configuration of fence_kdump. Bug-Url: https://bugzilla.redhat.com/1078134 Signed-off-by: Martin Perina Acked-by: Vivek Goyal --- kdumpctl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kdumpctl b/kdumpctl index eb6bdbc..8aacf4e 100755 --- a/kdumpctl +++ b/kdumpctl @@ -185,9 +185,9 @@ function check_config() return 0 } -# check_fence_kdump -# return 0 if fence_kdump is configured and kdump initrd needs to be rebuilt -function check_fence_kdump() +# check_pcs_fence_kdump +# return 0 if fence_kdump is configured in Pacemaker cluster and kdump initrd needs to be rebuilt +function check_pcs_fence_kdump() { local image_time=$1 local cib_time @@ -239,8 +239,8 @@ function check_rebuild() image_time=0 fi - #also rebuild when cluster conf is changed and fence kdump is enabled. - check_fence_kdump $image_time && modified_files="cluster-cib" + #also rebuild when Pacemaker cluster conf is changed and fence kdump is enabled. + check_pcs_fence_kdump $image_time && modified_files="cluster-cib" EXTRA_BINS=`grep ^kdump_post $KDUMP_CONFIG_FILE | cut -d\ -f2` CHECK_FILES=`grep ^kdump_pre $KDUMP_CONFIG_FILE | cut -d\ -f2`