diff options
author | наб <[email protected]> | 2022-01-24 20:11:07 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2022-01-25 12:53:00 -0800 |
commit | 5dccd7e8f3c9946763e227162d68164a3906f401 (patch) | |
tree | d094a189a9011d96736cec7ed9ba819b982aaaa3 /module | |
parent | a46237106cb48e7f4a1bf458d227981f291d59f0 (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.c | 2 | ||||
-rw-r--r-- | module/os/linux/spl/spl-procfs-list.c | 2 |
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 a417d4d7c..c6d3c8f44 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 1922825c9..81501460f 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; |