Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86900
b: refs/heads/master
c: 459eea7
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Feb 29, 2008
1 parent 923b109 commit bed00b9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 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: 5e47879f493e14a017d1facefc601f43c477dbee
refs/heads/master: 459eea74104ad85c30e17541c2b30d776445e985
9 changes: 3 additions & 6 deletions trunk/net/sctp/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,12 +256,10 @@ int __init sctp_eps_proc_init(void)
{
struct proc_dir_entry *p;

p = create_proc_entry("eps", S_IRUGO, proc_net_sctp);
p = proc_create("eps", S_IRUGO, proc_net_sctp, &sctp_eps_seq_fops);
if (!p)
return -ENOMEM;

p->proc_fops = &sctp_eps_seq_fops;

return 0;
}

Expand Down Expand Up @@ -367,12 +365,11 @@ int __init sctp_assocs_proc_init(void)
{
struct proc_dir_entry *p;

p = create_proc_entry("assocs", S_IRUGO, proc_net_sctp);
p = proc_create("assocs", S_IRUGO, proc_net_sctp,
&sctp_assocs_seq_fops);
if (!p)
return -ENOMEM;

p->proc_fops = &sctp_assocs_seq_fops;

return 0;
}

Expand Down

0 comments on commit bed00b9

Please sign in to comment.