Whamcloud - gitweb
LU-8655 tests: customize run_mdtest()
[fs/lustre-release.git] / lustre / utils / liblustreapi_ladvise.c
index 85083f1..b606dfe 100644 (file)
  * \param ladvise  Advice to give.
  *
  * \retval 0 on success.
- * \retval -errno on failure.
+ * \retval -1 on failure, errno set
  */
 int llapi_ladvise(int fd, unsigned long long flags, int num_advise,
-                 struct lu_ladvise *ladvise)
+                 struct llapi_lu_ladvise *ladvise)
 {
        int rc;
-       struct ladvise_hdr *ladvise_hdr;
+       struct llapi_ladvise_hdr *ladvise_hdr;
 
        if (num_advise < 1 || num_advise >= LAH_COUNT_MAX) {
                errno = EINVAL;