Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 159467
b: refs/heads/master
c: cb7d9e7
h: refs/heads/master
i:
  159465: c08afdd
  159463: 100d017
v: v3
  • Loading branch information
Rémi Denis-Courmont authored and David S. Miller committed Aug 13, 2009
1 parent 4e99d95 commit 10eff1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 859b1e4ec86840b0d0980f82b626d687be682eb9
refs/heads/master: cb7d9e7f9bedee2928fe5ce95e1d5f1f22c1f2d7
5 changes: 3 additions & 2 deletions trunk/net/phonet/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -498,13 +498,14 @@ static const struct seq_operations pn_sock_seq_ops = {

static int pn_sock_open(struct inode *inode, struct file *file)
{
return seq_open(file, &pn_sock_seq_ops);
return seq_open_net(inode, file, &pn_sock_seq_ops,
sizeof(struct seq_net_private));
}

const struct file_operations pn_sock_seq_fops = {
.owner = THIS_MODULE,
.open = pn_sock_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release,
.release = seq_release_net,
};

0 comments on commit 10eff1c

Please sign in to comment.