瀏覽代碼

audit: fix location of __net_initdata for audit_net_ops

Fixup caught by checkpatch.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Richard Guy Briggs 12 年之前
父節點
當前提交
8626877b52
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kernel/audit.c

+ 1 - 1
kernel/audit.c

@@ -1091,7 +1091,7 @@ static void __net_exit audit_net_exit(struct net *net)
 	netlink_kernel_release(sock);
 }
 
-static struct pernet_operations __net_initdata audit_net_ops = {
+static struct pernet_operations audit_net_ops __net_initdata = {
 	.init = audit_net_init,
 	.exit = audit_net_exit,
 	.id = &audit_net_id,