]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/sunrpc/stats.c
procfs: new helper - PDE_DATA(inode)
[mirror_ubuntu-bionic-kernel.git] / net / sunrpc / stats.c
index bc2068ee795b95d7fdec5d57503ab3919ff3e97d..21b75cb08c039285100134281bbe8cbc7749b09a 100644 (file)
@@ -64,7 +64,7 @@ static int rpc_proc_show(struct seq_file *seq, void *v) {
 
 static int rpc_proc_open(struct inode *inode, struct file *file)
 {
-       return single_open(file, rpc_proc_show, PDE(inode)->data);
+       return single_open(file, rpc_proc_show, PDE_DATA(inode));
 }
 
 static const struct file_operations rpc_proc_fops = {