Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dlm: make genl_ops const

This table contains function points and should be const.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David Teigland <teigland@redhat.com>

authored by

Stephen Hemminger and committed by
David Teigland
dbef1c05 1001354c

+1 -1
+1 -1
fs/dlm/netlink.c
··· 69 69 return 0; 70 70 } 71 71 72 - static struct genl_ops dlm_nl_ops[] = { 72 + static const struct genl_ops dlm_nl_ops[] = { 73 73 { 74 74 .cmd = DLM_CMD_HELLO, 75 75 .doit = user_cmd,