Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 62761
b: refs/heads/master
c: b053c20
h: refs/heads/master
i:
  62759: cbb79cd
v: v3
  • Loading branch information
Eric W. Biederman authored and Linus Torvalds committed Jul 22, 2007
1 parent afc0977 commit 02a8704
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f56d35e7aa78ac56a93ff43da90e8d90a37a1362
refs/heads/master: b053c204edbc82b068fe8cfc809b7f90b885fae0
21 changes: 8 additions & 13 deletions trunk/net/9p/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,45 +28,40 @@
#include <linux/init.h>
#include <net/9p/9p.h>

enum {
P9_SYSCTL_NET = 487,
P9_SYSCTL_DEBUG = 1,
};

static ctl_table p9_table[] = {
static struct ctl_table p9_table[] = {
#ifdef CONFIG_NET_9P_DEBUG
{
.ctl_name = P9_SYSCTL_DEBUG,
.ctl_name = CTL_UNNUMBERED,
.procname = "debug",
.data = &p9_debug_level,
.maxlen = sizeof(int),
.mode = 0644,
.proc_handler = &proc_dointvec
},
#endif
{ .ctl_name = 0 },
{},
};

static ctl_table p9_net_table[] = {
static struct ctl_table p9_net_table[] = {
{
.ctl_name = P9_SYSCTL_NET,
.ctl_name = CTL_UNNUMBERED,
.procname = "9p",
.maxlen = 0,
.mode = 0555,
.child = p9_table,
},
{ .ctl_name = 0 },
{},
};

static ctl_table p9_ctl_table[] = {
static struct ctl_table p9_ctl_table[] = {
{
.ctl_name = CTL_NET,
.procname = "net",
.maxlen = 0,
.mode = 0555,
.child = p9_net_table,
},
{ .ctl_name = 0 },
{},
};

static struct ctl_table_header *p9_table_header;
Expand Down

0 comments on commit 02a8704

Please sign in to comment.