Whamcloud - gitweb
LU-13990 ldlm: ldlm_flock_deadlock() ASSERTION(req != lock) failed
[fs/lustre-release.git] / lustre / quota / qmt_entry.c
index de9a314..da29dc4 100644 (file)
@@ -801,8 +801,9 @@ bool qmt_adjust_edquot_qunit_notify(const struct lu_env *env,
        if (!lqe_gl->lqe_glbl_data &&
            (req_has_rep(qb_flags) || req_is_rel(qb_flags))) {
                if (need_reseed)
-                       CWARN("%s: can't notify - lge_glbl_data is not set",
-                             qmt->qmt_svname);
+                       CDEBUG(D_QUOTA,
+                              "%s: can not notify - lge_glbl_data is not set\n",
+                              qmt->qmt_svname);
                return need_reseed;
        }
 
@@ -857,7 +858,7 @@ void qmt_revalidate_lqes(const struct lu_env *env,
        }
 }
 
-inline void qti_lqes_init(const struct lu_env *env)
+void qti_lqes_init(const struct lu_env *env)
 {
        struct qmt_thread_info  *qti = qmt_info(env);
 
@@ -866,7 +867,7 @@ inline void qti_lqes_init(const struct lu_env *env)
        qti->qti_lqes_num = QMT_MAX_POOL_NUM;
 }
 
-inline int qti_lqes_add(const struct lu_env *env, struct lquota_entry *lqe)
+int qti_lqes_add(const struct lu_env *env, struct lquota_entry *lqe)
 {
        struct qmt_thread_info  *qti = qmt_info(env);
 
@@ -901,7 +902,7 @@ inline int qti_lqes_add(const struct lu_env *env, struct lquota_entry *lqe)
        return 0;
 }
 
-inline void qti_lqes_del(const struct lu_env *env, int index)
+void qti_lqes_del(const struct lu_env *env, int index)
 {
        struct lquota_entry     **lqes;
        int lqes_cnt = qti_lqes_cnt(env);
@@ -925,7 +926,7 @@ inline void qti_lqes_del(const struct lu_env *env, int index)
        qti_lqes_cnt(env)--;
 }
 
-inline void qti_lqes_fini(const struct lu_env *env)
+void qti_lqes_fini(const struct lu_env *env)
 {
        struct qmt_thread_info  *qti = qmt_info(env);
        struct lquota_entry     **lqes = qti->qti_lqes;