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); } /**