diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2007-01-23 13:20:41 -0500 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2007-02-05 13:37:35 -0500 |
commit | 90101c31867b7acc44286b425d50e1042aa55b8d (patch) | |
tree | 3129323fd9112fb1e7ed187a0cdca8d37d0b42da /fs | |
parent | 12132933c4fdeb458195a9388287d550c8476edf (diff) | |
download | linux-90101c31867b7acc44286b425d50e1042aa55b8d.tar.bz2 |
[GFS2] Compile fix for glock.c
This one liner got missed from the previous patch.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/gfs2/glock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index 1509481b8ca6..f68582ddaa5c 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -1786,7 +1786,7 @@ static void clear_glock(struct gfs2_glock *gl) } if (gfs2_glmutex_trylock(gl)) { - if (list_empty(gl, &gl->gl_holders) && + if (list_empty(&gl->gl_holders) && gl->gl_state != LM_ST_UNLOCKED) handle_callback(gl, LM_ST_UNLOCKED); gfs2_glmutex_unlock(gl); |