From a58ff87fbb289681fa1845ec55953b817def581f Mon Sep 17 00:00:00 2001 From: braam Date: Sun, 23 Jun 2002 19:16:22 +0000 Subject: [PATCH] - minor fix --- lustre/lib/l_lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/lib/l_lock.c b/lustre/lib/l_lock.c index ca253a2..d3c5695 100644 --- a/lustre/lib/l_lock.c +++ b/lustre/lib/l_lock.c @@ -61,7 +61,7 @@ void l_lock_init(struct lustre_lock *lock) void l_lock(struct lustre_lock *lock) { - int owner; + int owner = 0; spin_lock(&lock->l_spin); if (lock->l_owner == current) { owner = 1; -- 1.8.3.1