diff options
-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) | |||
1786 | } | 1786 | } |
1787 | 1787 | ||
1788 | if (gfs2_glmutex_trylock(gl)) { | 1788 | if (gfs2_glmutex_trylock(gl)) { |
1789 | if (list_empty(gl, &gl->gl_holders) && | 1789 | if (list_empty(&gl->gl_holders) && |
1790 | gl->gl_state != LM_ST_UNLOCKED) | 1790 | gl->gl_state != LM_ST_UNLOCKED) |
1791 | handle_callback(gl, LM_ST_UNLOCKED); | 1791 | handle_callback(gl, LM_ST_UNLOCKED); |
1792 | gfs2_glmutex_unlock(gl); | 1792 | gfs2_glmutex_unlock(gl); |