summaryrefslogtreecommitdiffstats
path: root/fs/dlm/netlink.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2016-08-31 10:26:28 -0700
committerDavid Teigland <teigland@redhat.com>2016-10-19 11:00:03 -0500
commitdbef1c05341b1eb4912154cc32bc1a8b64ac0f59 (patch)
tree4bb27fd417780ee0359e554cbb86faedde11316c /fs/dlm/netlink.c
parent1001354ca34179f3db924eb66672442a173147dc (diff)
downloadblackbird-op-linux-dbef1c05341b1eb4912154cc32bc1a8b64ac0f59.tar.gz
blackbird-op-linux-dbef1c05341b1eb4912154cc32bc1a8b64ac0f59.zip
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/netlink.c')
-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)
return 0;
}
-static struct genl_ops dlm_nl_ops[] = {
+static const struct genl_ops dlm_nl_ops[] = {
{
.cmd = DLM_CMD_HELLO,
.doit = user_cmd,
OpenPOWER on IntegriCloud