block/drbd: align properly u64 in nl messages
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Mon, 9 May 2016 09:40:20 +0000 (11:40 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 May 2016 19:43:09 +0000 (15:43 -0400)
commit1dee3f59a8d5e711797dc82628aaf94a64e99922
treeaa706d4288becef3cab1a39002f52916e0eb7030
parentdc6079d8ab24283f07b8180574dcf42c78ceeb7c
block/drbd: align properly u64 in nl messages

The attribute 0 is never used in drbd, so let's use it as pad attribute
in netlink messages. This minimizes the patch.

Note that this patch is only compile-tested.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/block/drbd/drbd_nl.c
include/linux/genl_magic_struct.h