Merge tag 'arc-5.10-rc1-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vgupt...
[linux-2.6-microblaze.git] / fs / dlm / netlink.c
index e338c40..67f68d4 100644 (file)
@@ -62,7 +62,7 @@ static int user_cmd(struct sk_buff *skb, struct genl_info *info)
        return 0;
 }
 
-static const struct genl_ops dlm_nl_ops[] = {
+static const struct genl_small_ops dlm_nl_ops[] = {
        {
                .cmd    = DLM_CMD_HELLO,
                .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
@@ -73,8 +73,8 @@ static const struct genl_ops dlm_nl_ops[] = {
 static struct genl_family family __ro_after_init = {
        .name           = DLM_GENL_NAME,
        .version        = DLM_GENL_VERSION,
-       .ops            = dlm_nl_ops,
-       .n_ops          = ARRAY_SIZE(dlm_nl_ops),
+       .small_ops      = dlm_nl_ops,
+       .n_small_ops    = ARRAY_SIZE(dlm_nl_ops),
        .module         = THIS_MODULE,
 };