summaryrefslogtreecommitdiff
path: root/include/linux/drbd_nl.h
diff options
context:
space:
mode:
authorPhilipp Reisner <philipp.reisner@linbit.com>2010-12-03 15:22:48 +0100
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-03-10 11:35:17 +0100
commit2561b9c1f1d63077c41903fc6ad58dc9ec47248b (patch)
tree79f4148dce59a9f696e680d70151312721f296cf /include/linux/drbd_nl.h
parent42ff269d1022a86be4f526cf674998c47b7ab856 (diff)
downloadlwn-2561b9c1f1d63077c41903fc6ad58dc9ec47248b.tar.gz
lwn-2561b9c1f1d63077c41903fc6ad58dc9ec47248b.zip
drbd: --force option for disconnect
As the network connection can be lost at any time, a --force option for disconnect is just a matter of completeness. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Diffstat (limited to 'include/linux/drbd_nl.h')
-rw-r--r--include/linux/drbd_nl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/drbd_nl.h b/include/linux/drbd_nl.h
index 6fc614b06c4d..ab6159e4fcf0 100644
--- a/include/linux/drbd_nl.h
+++ b/include/linux/drbd_nl.h
@@ -69,7 +69,9 @@ NL_PACKET(net_conf, 5,
NL_BIT( 70, T_MANDATORY, dry_run)
)
-NL_PACKET(disconnect, 6, )
+NL_PACKET(disconnect, 6,
+ NL_BIT( 84, T_MAY_IGNORE, force)
+)
NL_PACKET(resize, 7,
NL_INT64( 29, T_MAY_IGNORE, resize_size)