From: dmilos Date: Tue, 16 Sep 2003 22:41:14 +0000 (+0000) Subject: Merge latest b_llp_hp changes onto b_flock X-Git-Tag: v1_7_100~1^248~73 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=4a231b37e14b104331af94e54b2f6ba56e0146cd;p=fs%2Flustre-release.git Merge latest b_llp_hp changes onto b_flock --- diff --git a/lustre/ldlm/ldlm_flock.c b/lustre/ldlm/ldlm_flock.c index 72d5229..b12e69b 100644 --- a/lustre/ldlm/ldlm_flock.c +++ b/lustre/ldlm/ldlm_flock.c @@ -32,6 +32,8 @@ #include #endif +#include "ldlm_internal.h" + #define l_flock_waitq l_lru #define l_flock_blocker l_parent diff --git a/lustre/ldlm/ldlm_plain.c b/lustre/ldlm/ldlm_plain.c index c3413ca..0efc294 100644 --- a/lustre/ldlm/ldlm_plain.c +++ b/lustre/ldlm/ldlm_plain.c @@ -31,6 +31,8 @@ #include #endif +#include "ldlm_internal.h" + static inline int ldlm_plain_compat_queue(struct list_head *queue, struct ldlm_lock *req, int first_enq) @@ -104,6 +106,6 @@ ldlm_plain_enqueue(struct ldlm_lock *lock, int *flags, int first_enq, } list_del_init(&lock->l_res_link); - ldlm_grant_lock(lock, NULL, 0); + ldlm_grant_lock(lock, NULL, 0, 1); RETURN(LDLM_ITER_CONTINUE); }