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-5275 lprocfs: reduce scope of params_tree.h
[fs/lustre-release.git]
/
lustre
/
fld
/
lproc_fld.c
diff --git
a/lustre/fld/lproc_fld.c
b/lustre/fld/lproc_fld.c
index
b4e45fd
..
bbbecb3
100644
(file)
--- a/
lustre/fld/lproc_fld.c
+++ b/
lustre/fld/lproc_fld.c
@@
-279,7
+279,10
@@
static int fldb_seq_open(struct inode *inode, struct file *file)
int env_init = 0;
int rc;
- LPROCFS_ENTRY_CHECK(PDE(inode));
+ rc = LPROCFS_ENTRY_CHECK(inode);
+ if (rc < 0)
+ return rc;
+
rc = seq_open(file, &fldb_sops);
if (rc)
GOTO(out, rc);