aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2016-08-31 13:26:28 -0400
committerDavid Teigland <teigland@redhat.com>2016-10-19 12:00:03 -0400
commitdbef1c05341b1eb4912154cc32bc1a8b64ac0f59 (patch)
tree4bb27fd417780ee0359e554cbb86faedde11316c /fs/dlm
parent1001354ca34179f3db924eb66672442a173147dc (diff)
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>
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/netlink.c b/fs/dlm/netlink.c
index 1e6e227134d7..934ab0640610 100644
--- a/fs/dlm/netlink.c
+++ b/fs/dlm/netlink.c
@@ -69,7 +69,7 @@ static int user_cmd(struct sk_buff *skb, struct genl_info *info)
69 return 0; 69 return 0;
70} 70}
71 71
72static struct genl_ops dlm_nl_ops[] = { 72static const struct genl_ops dlm_nl_ops[] = {
73 { 73 {
74 .cmd = DLM_CMD_HELLO, 74 .cmd = DLM_CMD_HELLO,
75 .doit = user_cmd, 75 .doit = user_cmd,