From 830f1f28395ae42547085088de661682b139133e Mon Sep 17 00:00:00 2001 From: Bob Peterson Date: Mon, 28 Jan 2008 14:54:16 -0600 Subject: [PATCH] --- yaml --- r: 89495 b: refs/heads/master c: ef8c441cb7fece75dbbdb1f59d3f82b6a4be7474 h: refs/heads/master i: 89493: 9e97f6dfdd62441c76a20c5d390a3cffcabdd2d5 89491: c813401c93cd81cdc1e1ade2a7359fc501cf761f 89487: b4876e0a79b5a51bcb4b108bfd50e56a323497a3 v: v3 --- [refs] | 2 +- trunk/fs/gfs2/glock.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index 72f4c1a11896..1e12e9220eae 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7eabb77e65c559d9c284da232b9ba5354898028a +refs/heads/master: ef8c441cb7fece75dbbdb1f59d3f82b6a4be7474 diff --git a/trunk/fs/gfs2/glock.c b/trunk/fs/gfs2/glock.c index 7175a4d06435..5752dec017c1 100644 --- a/trunk/fs/gfs2/glock.c +++ b/trunk/fs/gfs2/glock.c @@ -1594,10 +1594,10 @@ void gfs2_glock_schedule_for_reclaim(struct gfs2_glock *gl) gfs2_glock_hold(gl); list_add(&gl->gl_reclaim, &sdp->sd_reclaim_list); atomic_inc(&sdp->sd_reclaim_count); - } - spin_unlock(&sdp->sd_reclaim_lock); - - wake_up(&sdp->sd_reclaim_wq); + spin_unlock(&sdp->sd_reclaim_lock); + wake_up(&sdp->sd_reclaim_wq); + } else + spin_unlock(&sdp->sd_reclaim_lock); } /**