diff options
author | 2016-08-31 10:26:28 -0700 | |
---|---|---|
committer | 2016-10-19 11:00:03 -0500 | |
commit | dbef1c05341b1eb4912154cc32bc1a8b64ac0f59 (patch) | |
tree | 4bb27fd417780ee0359e554cbb86faedde11316c /fs/dlm/netlink.c | |
parent | Linux 4.9-rc1 (diff) | |
download | linux-dbef1c05341b1eb4912154cc32bc1a8b64ac0f59.tar.gz linux-dbef1c05341b1eb4912154cc32bc1a8b64ac0f59.tar.bz2 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.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, |