X-Git-Url: http://git.samba.org/samba.git/?p=sfrench%2Fcifs-2.6.git;a=blobdiff_plain;f=fs%2Fgfs2%2Fglock.c;h=d6bf1f8c25dcd19ecd62d3e819aa608126ae6ac3;hp=d5fa75eac0bfee8ea4c677c798313eb79e3175ea;hb=1a0507d8780e2902c4c17c5a4c45d298bd7048af;hpb=7f851936a0ca4b231224ee296cba28f9b1bc555e diff --git a/fs/gfs2/glock.c b/fs/gfs2/glock.c index d5fa75eac0bf..d6bf1f8c25dc 100644 --- a/fs/gfs2/glock.c +++ b/fs/gfs2/glock.c @@ -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);