summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-01-24 20:11:07 +0100
committerTony Hutter <[email protected]>2022-02-04 08:33:52 -0800
commit4f6599416afcbf88b536ceb147a3f100712b3c82 (patch)
treeb4206b2bd8e7ba18fd3f4f1f82278534484642b3 /module
parentf42c12602913c7e725f647e48b12e6d0283756a4 (diff)
Linux 5.17 compat: PDE_DATA() renamed to pde_data()
Upstream commit 359745d78351c6f5442435f81549f0207ece28aa ("proc: remove PDE_DATA() completely") Link: https://lore.kernel.org/all/[email protected]/T/#u Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13004 Closes #12989
Diffstat (limited to 'module')
-rw-r--r--module/os/linux/spl/spl-kstat.c2
-rw-r--r--module/os/linux/spl/spl-procfs-list.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/os/linux/spl/spl-kstat.c b/module/os/linux/spl/spl-kstat.c
index 0c4670832..b5666e788 100644
--- a/module/os/linux/spl/spl-kstat.c
+++ b/module/os/linux/spl/spl-kstat.c
@@ -418,7 +418,7 @@ proc_kstat_open(struct inode *inode, struct file *filp)
return (rc);
f = filp->private_data;
- f->private = PDE_DATA(inode);
+ f->private = SPL_PDE_DATA(inode);
return (0);
}
diff --git a/module/os/linux/spl/spl-procfs-list.c b/module/os/linux/spl/spl-procfs-list.c
index cae13228c..2cba1a302 100644
--- a/module/os/linux/spl/spl-procfs-list.c
+++ b/module/os/linux/spl/spl-procfs-list.c
@@ -175,7 +175,7 @@ procfs_list_open(struct inode *inode, struct file *filp)
struct seq_file *f = filp->private_data;
procfs_list_cursor_t *cursor = f->private;
- cursor->procfs_list = PDE_DATA(inode);
+ cursor->procfs_list = SPL_PDE_DATA(inode);
cursor->cached_node = NULL;
cursor->cached_pos = 0;