From: Steven Whitehouse Date: Tue, 23 Jan 2007 18:20:41 +0000 (-0500) Subject: [GFS2] Compile fix for glock.c X-Git-Tag: Ubuntu-goldfish-3.4.0-4.27~28453^2~15^2~20 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=90101c31867b7acc44286b425d50e1042aa55b8d;p=mirror_ubuntu-zesty-kernel.git [GFS2] Compile fix for glock.c This one liner got missed from the previous patch. Signed-off-by: Steven Whitehouse --- 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);