From a49b0881a8e17997b2c93ceb195a2786a8e3b2e0 Mon Sep 17 00:00:00 2001 From: Dave Young Date: Mon, 23 Jul 2012 15:31:15 +0800 Subject: [PATCH] rename function dump_localfs nfs will be handled in fstab-sys as well as localfs. so rename dump_localfs to dump_fs firstly. Signed-off-by: Dave Young Acked-by: Vivek Goyal --- dracut-kdump.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dracut-kdump.sh b/dracut-kdump.sh index 8986cf0..eb4cbe1 100755 --- a/dracut-kdump.sh +++ b/dracut-kdump.sh @@ -81,7 +81,7 @@ to_dev_name() echo $dev } -dump_localfs() +dump_fs() { local _dev=`to_dev_name $1` local _mp=`get_mp $_dev` @@ -215,7 +215,7 @@ read_kdump_conf() do case "$config_opt" in ext[234]|xfs|btrfs|minix) - add_dump_code "dump_localfs $config_val" + add_dump_code "dump_fs $config_val" ;; raw) add_dump_code "dump_raw $config_val"