Whamcloud - gitweb
LU-4017 quota: add project id support to lfs find
[fs/lustre-release.git] / lustre / utils / liblustreapi_ladvise.c
index 85083f1..445c145 100644 (file)
@@ -38,7 +38,6 @@
 #include <errno.h>
 
 #include <lustre/lustreapi.h>
-#include <lustre/lustre_idl.h>
 #include "lustreapi_internal.h"
 
 /*
  * \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;