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 <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
3d470c4be2
commit
a49b0881a8
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user