]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/8021q/vlanproc.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / net / 8021q / vlanproc.c
index dc526ec965e45e6f219fe708836483e480bc9fde..959ddbb0ca4dabc3dcc29e32531d6ebe3ca4badd 100644 (file)
@@ -93,7 +93,7 @@ static const struct file_operations vlan_fops = {
 
 static int vlandev_seq_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, vlandev_seq_show, PDE(inode)->data);
+       return single_open(file, vlandev_seq_show, PDE_DATA(inode));
 }
 
 static const struct file_operations vlandev_fops = {