diff options
author | Stephen Hemminger <stephen@networkplumber.org> | 2016-08-31 19:26:28 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2016-10-19 18:00:03 +0200 |
commit | dbef1c05341b1eb4912154cc32bc1a8b64ac0f59 (patch) | |
tree | 4bb27fd417780ee0359e554cbb86faedde11316c /fs/dlm | |
parent | Linux 4.9-rc1 (diff) | |
download | linux-dbef1c05341b1eb4912154cc32bc1a8b64ac0f59.tar.xz 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')
-rw-r--r-- | fs/dlm/netlink.c | 2 |
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, |