Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-16118 build: Use pde_data() when available
[fs/lustre-release.git]
/
lustre
/
include
/
lprocfs_status.h
diff --git
a/lustre/include/lprocfs_status.h
b/lustre/include/lprocfs_status.h
index
7231905
..
9d2d092
100644
(file)
--- a/
lustre/include/lprocfs_status.h
+++ b/
lustre/include/lprocfs_status.h
@@
-794,7
+794,7
@@
static int name##_single_open(struct inode *inode, struct file *file) \
{ \
return single_open(file, name##_seq_show, \
inode->i_private ? inode->i_private : \
-
PDE_DATA
(inode)); \
+
pde_data
(inode)); \
} \
static const struct proc_ops name##_fops = { \
PROC_OWNER(THIS_MODULE) \
@@
-841,7
+841,7
@@
static const struct proc_ops name##_fops = { \
{ \
return single_open(file, NULL, \
inode->i_private ? inode->i_private : \
-
PDE_DATA
(inode)); \
+
pde_data
(inode)); \
} \
static const struct proc_ops name##_##type##_fops = { \
.proc_open = name##_##type##_open, \