]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[GFS2] Compile fix for glock.c
authorSteven Whitehouse <swhiteho@redhat.com>
Tue, 23 Jan 2007 18:20:41 +0000 (13:20 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Feb 2007 18:37:35 +0000 (13:37 -0500)
This one liner got missed from the previous patch.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c

index 1509481b8ca6399ff8f339634e5b93a41c8d946a..f68582ddaa5c1e4a19cc34322c538b634a953b63 100644 (file)
@@ -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);