summaryrefslogtreecommitdiffstats
path: root/cluster
diff options
context:
space:
mode:
Diffstat (limited to 'cluster')
-rw-r--r--cluster/drbd/HISTORY3
-rwxr-xr-xcluster/drbd/TRIGGERS4
2 files changed, 6 insertions, 1 deletions
diff --git a/cluster/drbd/HISTORY b/cluster/drbd/HISTORY
index 9c34967035..d6ae51b6ac 100644
--- a/cluster/drbd/HISTORY
+++ b/cluster/drbd/HISTORY
@@ -1,3 +1,6 @@
+2013-01-25 Vlad Glagolev <stealth@sourcemage.org>
+ * TRIGGERS: recast on linux update only when kernel module is enabled
+
2013-01-08 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: added kernel 3.5-3.7 support (see drbd.org/download/mainline)
diff --git a/cluster/drbd/TRIGGERS b/cluster/drbd/TRIGGERS
index bb1c400625..dc8159922c 100755
--- a/cluster/drbd/TRIGGERS
+++ b/cluster/drbd/TRIGGERS
@@ -1 +1,3 @@
-on_cast linux cast_self
+if list_find "$DRBD_OPTS" "--with-km"; then
+ on_cast linux cast_self
+fi