proc: remove PDE_DATA() completely
[sfrench/cifs-2.6.git] / net / ipv4 / udp.c
index 464590ea922e153e3391ce8f9601c0bb63aae4f2..090360939401e60d7844f18b3fd2fb283bdc2b5e 100644 (file)
@@ -2960,7 +2960,7 @@ static struct sock *udp_get_first(struct seq_file *seq, int start)
        if (state->bpf_seq_afinfo)
                afinfo = state->bpf_seq_afinfo;
        else
-               afinfo = PDE_DATA(file_inode(seq->file));
+               afinfo = pde_data(file_inode(seq->file));
 
        for (state->bucket = start; state->bucket <= afinfo->udp_table->mask;
             ++state->bucket) {
@@ -2993,7 +2993,7 @@ static struct sock *udp_get_next(struct seq_file *seq, struct sock *sk)
        if (state->bpf_seq_afinfo)
                afinfo = state->bpf_seq_afinfo;
        else
-               afinfo = PDE_DATA(file_inode(seq->file));
+               afinfo = pde_data(file_inode(seq->file));
 
        do {
                sk = sk_next(sk);
@@ -3050,7 +3050,7 @@ void udp_seq_stop(struct seq_file *seq, void *v)
        if (state->bpf_seq_afinfo)
                afinfo = state->bpf_seq_afinfo;
        else
-               afinfo = PDE_DATA(file_inode(seq->file));
+               afinfo = pde_data(file_inode(seq->file));
 
        if (state->bucket <= afinfo->udp_table->mask)
                spin_unlock_bh(&afinfo->udp_table->hash[state->bucket].lock);