aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/drbd_nl.h
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2010-11-24 04:11:14 -0500
committerPhilipp Reisner <philipp.reisner@linbit.com>2011-03-10 05:35:15 -0500
commit42ff269d1022a86be4f526cf674998c47b7ab856 (patch)
treed392b05fd0c626093b552232b26b60d21afa4d26 /include/linux/drbd_nl.h
parent3e3a7766c2e6995ac98e7855017abc3544d54e08 (diff)
drbd: add packet_type 27 (return_code_only) to netlink api
In case we ever should add an other packet type, we must not reuse 27, as that currently used for "empty" return code only replies. Document it as such. 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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/drbd_nl.h b/include/linux/drbd_nl.h
index 8cde3945d1f7..6fc614b06c4d 100644
--- a/include/linux/drbd_nl.h
+++ b/include/linux/drbd_nl.h
@@ -146,9 +146,13 @@ NL_PACKET(new_c_uuid, 26,
146 NL_BIT( 63, T_MANDATORY, clear_bm) 146 NL_BIT( 63, T_MANDATORY, clear_bm)
147) 147)
148 148
149#ifdef NL_RESPONSE
150NL_RESPONSE(return_code_only, 27)
151#endif
152
149#undef NL_PACKET 153#undef NL_PACKET
150#undef NL_INTEGER 154#undef NL_INTEGER
151#undef NL_INT64 155#undef NL_INT64
152#undef NL_BIT 156#undef NL_BIT
153#undef NL_STRING 157#undef NL_STRING
154 158#undef NL_RESPONSE