Whamcloud - gitweb
Kick the can for a version check a bit further.
[fs/lustre-release.git] / lustre / mdt / mdt_hsm_cdt_agent.c
index 9a9ce6d..158cced 100644 (file)
@@ -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);
 }