Whamcloud - gitweb
LU-6837 update: re-lookup the dtrq in the replay list.
[fs/lustre-release.git] / lustre / utils / liblustreapi_hsm.c
index b4dac67..f569fc6 100644 (file)
@@ -55,7 +55,6 @@
 #include <unistd.h>
 #endif
 
-#include <libcfs/libcfs.h>
 #include <lnet/lnetctl.h>
 #include <lustre/lustre_idl.h>
 #include <lustre/lustreapi.h>
@@ -71,7 +70,7 @@ struct hsm_copytool_private {
        struct kuc_hdr          *kuch;
        int                      mnt_fd;
        int                      open_by_fid_fd;
-       lustre_kernelcomm        kuc;
+       struct lustre_kernelcomm kuc;
        __u32                    archives;
 };
 
@@ -84,8 +83,6 @@ struct hsm_copyaction_private {
        lstat_t                                  stat;
 };
 
-#include <libcfs/libcfs.h>
-
 enum ct_progress_type {
        CT_START        = 0,
        CT_RUNNING      = 50,
@@ -731,7 +728,7 @@ int llapi_hsm_copytool_register(struct hsm_copytool_private **priv,
                        rc = -EINVAL;
                        goto out_err;
                }
-               /* in the list we have a all archive wildcard
+               /* in the list we have an all archive wildcard
                 * so move to all archives mode
                 */
                if (archives[rc] == 0) {