richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
923a60
From e1311df43e9c63e72b1a6b329f5ffc9bcd0f37e1 Mon Sep 17 00:00:00 2001
923a60
From: Michal Sekletar <msekleta@redhat.com>
923a60
Date: Thu, 16 Aug 2018 08:38:31 +0000
923a60
Subject: [PATCH] Revert "rules: mark hotplugged memory as movable"
923a60
923a60
This reverts commit 7431c551954ad63fe61cda18888e1e89419bd631.
923a60
923a60
Resolves: #1614686
923a60
---
923a60
 rules/40-redhat.rules | 2 +-
923a60
 1 file changed, 1 insertion(+), 1 deletion(-)
923a60
923a60
diff --git a/rules/40-redhat.rules b/rules/40-redhat.rules
923a60
index 26f7260010..34a1df9c48 100644
923a60
--- a/rules/40-redhat.rules
923a60
+++ b/rules/40-redhat.rules
923a60
@@ -4,7 +4,7 @@
923a60
 SUBSYSTEM=="cpu", ACTION=="add", TEST=="online", ATTR{online}=="0", ATTR{online}="1"
923a60
 
923a60
 # Memory hotadd request
923a60
-SUBSYSTEM=="memory", ACTION=="add", PROGRAM="/bin/uname -p", RESULT!="s390*", ATTR{state}=="offline", ATTR{state}="online_movable"
923a60
+SUBSYSTEM=="memory", ACTION=="add", PROGRAM="/bin/uname -p", RESULT!="s390*", ATTR{state}=="offline", ATTR{state}="online"
923a60
 
923a60
 # reload sysctl.conf / sysctl.conf.d settings when the bridge module is loaded
923a60
 ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"