]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/bluetooth/af_bluetooth.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / net / bluetooth / af_bluetooth.c
index d3ee69b35a78267f35b8ea4a9b32d367160eea21..82040e46b24bf8fa329671e4889b53a339c6dcfc 100644 (file)
@@ -617,7 +617,7 @@ static int bt_seq_open(struct inode *inode, struct file *file)
        struct bt_sock_list *sk_list;
        struct bt_seq_state *s;
 
-       sk_list = PDE(inode)->data;
+       sk_list = PDE_DATA(inode);
        s = __seq_open_private(file, &bt_seq_ops,
                               sizeof(struct bt_seq_state));
        if (!s)