Whamcloud - gitweb
LU-9312 hsm: convert cdt_llog_lock to a rw semaphore
[fs/lustre-release.git] / lustre / mdt / mdt_hsm_cdt_client.c
index a078d39..3ccb802 100644 (file)
@@ -37,7 +37,6 @@
 #define DEBUG_SUBSYSTEM S_MDS
 
 #include <obd_support.h>
-#include <lustre_net.h>
 #include <lustre_export.h>
 #include <obd.h>
 #include <lprocfs_status.h>
@@ -155,7 +154,7 @@ static int hsm_find_compatible(const struct lu_env *env, struct mdt_device *mdt,
        hcdcb.cdt = &mdt->mdt_coordinator;
        hcdcb.hal = hal;
 
-       rc = cdt_llog_process(env, mdt, hsm_find_compatible_cb, &hcdcb);
+       rc = cdt_llog_process(env, mdt, hsm_find_compatible_cb, &hcdcb, READ);
 
        RETURN(rc);
 }