Whamcloud - gitweb
LU-11359 mdt: fix mdt_dom_discard_data() timeouts
[fs/lustre-release.git] / lustre / include / lustre_dlm.h
index 0a6c998..6f9bb1e 100644 (file)
@@ -1431,6 +1431,8 @@ static inline int ldlm_res_lvbo_update(struct ldlm_resource *res,
        return ldlm_lvbo_update(res, NULL, req, increase);
 }
 
+int is_granted_or_cancelled_nolock(struct ldlm_lock *lock);
+
 int ldlm_error2errno(enum ldlm_error error);
 enum ldlm_error ldlm_errno2error(int err_no); /* don't call it `errno': this
                                               * confuses user-space. */