Commit Graph

1 Commits

Author SHA1 Message Date
Pingfan Liu
b0d6e9f357 powerpc: fix early exit from udev on hotplug event for fadump
Resolves: https://issues.redhat.com/browse/RHEL-24543
Upstream: kdump-utils

Author: Sourabh Jain <sourabhjain@linux.ibm.com>
Date:   Wed Jan 8 12:11:10 2025 +0530

    powerpc: fix early exit from udev on hotplug event for fadump

    Sysfs /sys/kernel/fadump/hotplug_ready contains 1 if hotplug is
    supported by fadump.

    Now to exit early the RUN command should grep 0 from
    /sys/kernel/fadump/hotplug_ready instead of 1.

    Fix it by updating RUN command.

    Fixes: b4e3d3724cf3 ("fadump/udev: do not re-register fadump if kernel hotplug ready")
    Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>

Signed-off-by: Pingfan Liu <piliu@redhat.com>
2025-01-13 10:01:22 +08:00