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
Kick the can for a version check a bit further.
[fs/lustre-release.git]
/
lustre
/
mdt
/
mdt_hsm_cdt_agent.c
diff --git
a/lustre/mdt/mdt_hsm_cdt_agent.c
b/lustre/mdt/mdt_hsm_cdt_agent.c
index
9a9ce6d
..
158cced
100644
(file)
--- a/
lustre/mdt/mdt_hsm_cdt_agent.c
+++ b/
lustre/mdt/mdt_hsm_cdt_agent.c
@@
-621,15
+621,12
@@
static int lprocfs_open_hsm_agent(struct inode *inode, struct file *file)
int rc;
ENTRY;
- if (LPROCFS_ENTRY_CHECK(PDE(inode)))
- RETURN(-ENOENT);
-
rc = seq_open(file, &mdt_hsm_agent_proc_ops);
if (rc)
RETURN(rc);
s = file->private_data;
- s->private = PDE
(inode)->data
;
+ s->private = PDE
_DATA(inode)
;
RETURN(rc);
}