Loading fs/gfs2/glock.c +5 −2 Original line number Diff line number Diff line Loading @@ -1967,9 +1967,12 @@ static void scan_glock(struct gfs2_glock *gl) if (gfs2_glmutex_trylock(gl)) { if (gl->gl_ops == &gfs2_inode_glops) { struct gfs2_inode *ip = gl->gl_object; if (ip) if (ip == NULL) { struct gfs2_sbd *sdp = gl->gl_sbd; gfs2_assert_withdraw(sdp, gl->gl_state == LM_ST_UNLOCKED); goto out_schedule; } } if (queue_empty(gl, &gl->gl_holders) && gl->gl_state != LM_ST_UNLOCKED && demote_ok(gl)) Loading Loading
fs/gfs2/glock.c +5 −2 Original line number Diff line number Diff line Loading @@ -1967,9 +1967,12 @@ static void scan_glock(struct gfs2_glock *gl) if (gfs2_glmutex_trylock(gl)) { if (gl->gl_ops == &gfs2_inode_glops) { struct gfs2_inode *ip = gl->gl_object; if (ip) if (ip == NULL) { struct gfs2_sbd *sdp = gl->gl_sbd; gfs2_assert_withdraw(sdp, gl->gl_state == LM_ST_UNLOCKED); goto out_schedule; } } if (queue_empty(gl, &gl->gl_holders) && gl->gl_state != LM_ST_UNLOCKED && demote_ok(gl)) Loading