diff options
author | Lars Ellenberg <lars.ellenberg@linbit.com> | 2010-11-24 09:11:14 (GMT) |
---|---|---|
committer | Philipp Reisner <philipp.reisner@linbit.com> | 2011-03-10 10:35:15 (GMT) |
commit | 42ff269d1022a86be4f526cf674998c47b7ab856 (patch) | |
tree | d392b05fd0c626093b552232b26b60d21afa4d26 /include/linux/drbd_tag_magic.h | |
parent | 3e3a7766c2e6995ac98e7855017abc3544d54e08 (diff) | |
download | linux-fsl-qoriq-42ff269d1022a86be4f526cf674998c47b7ab856.tar.xz |
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_tag_magic.h')
-rw-r--r-- | include/linux/drbd_tag_magic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/drbd_tag_magic.h b/include/linux/drbd_tag_magic.h index fcdff84..f14a165 100644 --- a/include/linux/drbd_tag_magic.h +++ b/include/linux/drbd_tag_magic.h @@ -7,6 +7,7 @@ /* declare packet_type enums */ enum packet_types { #define NL_PACKET(name, number, fields) P_ ## name = number, +#define NL_RESPONSE(name, number) P_ ## name = number, #define NL_INTEGER(pn, pr, member) #define NL_INT64(pn, pr, member) #define NL_BIT(pn, pr, member) |