]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit844149d9fcdec8edfdfff561fab08026629346ec
treeaa706d4288becef3cab1a39002f52916e0eb7030
parent4cc53f29418f3def47893b2022f0e153a3dbf967
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