Merge tag 'gfs2-v6.6-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / fs / gfs2 / glock.c
index d5fa75eac0bfee8ea4c677c798313eb79e3175ea..d6bf1f8c25dcd19ecd62d3e819aa608126ae6ac3 100644 (file)
@@ -1524,7 +1524,6 @@ fail:
                return;
        }
        list_add_tail(&gh->gh_list, insert_pt);
-       gh = list_first_entry(&gl->gl_holders, struct gfs2_holder, gh_list);
        spin_unlock(&gl->gl_lockref.lock);
        if (sdp->sd_lockstruct.ls_ops->lm_cancel)
                sdp->sd_lockstruct.ls_ops->lm_cancel(gl);