Whamcloud - gitweb
LU-2800 autoconf: remove LC_PROCFS_USERS test
[fs/lustre-release.git] / lustre / mdt / mdt_hsm_cdt_requests.c
index f36e500..a7a92c7 100644 (file)
@@ -567,12 +567,11 @@ static int lprocfs_open_hsm_request(struct inode *inode, struct file *file)
        int              rc;
        ENTRY;
 
-       if (LPROCFS_ENTRY_AND_CHECK(PDE(inode)))
+       if (LPROCFS_ENTRY_CHECK(PDE(inode)))
                RETURN(-ENOENT);
 
        rc = seq_open(file, &mdt_hsm_request_proc_ops);
        if (rc) {
-               LPROCFS_EXIT();
                RETURN(rc);
        }
        s = file->private_data;