summaryrefslogtreecommitdiff
path: root/include/linux/drbd.h
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2011-04-13 18:16:10 -0700
committerPhilipp Reisner <philipp.reisner@linbit.com>2012-11-08 16:45:18 +0100
commitb032b6fa3528d6eed972db32257cb316a66e0dac (patch)
treec5152232ea0074339e69e5b2fef9fa9bfd7229e6 /include/linux/drbd.h
parentcd64397c0b7be5050c4127aba242c5d0ae6acaed (diff)
downloadlwn-b032b6fa3528d6eed972db32257cb316a66e0dac.tar.gz
lwn-b032b6fa3528d6eed972db32257cb316a66e0dac.zip
drbd: Allow online change of replication protocol only with agreed_pv >= 100
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd.h')
-rw-r--r--include/linux/drbd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/drbd.h b/include/linux/drbd.h
index fe8d6ba31bcb..6c7c85d8fc41 100644
--- a/include/linux/drbd.h
+++ b/include/linux/drbd.h
@@ -160,6 +160,7 @@ enum drbd_ret_code {
ERR_MINOR_CONFIGURED = 160,
ERR_MINOR_EXISTS = 161,
ERR_INVALID_REQUEST = 162,
+ ERR_NEED_APV_100 = 163,
/* insert new ones above this line */
AFTER_LAST_ERR_CODE