]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
GFS2: fix warning message
authorBenjamin Marzinski <bmarzins@redhat.com>
Wed, 19 Jun 2013 18:18:59 +0000 (13:18 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 19 Jun 2013 20:29:19 +0000 (21:29 +0100)
This patch fixes a warning message introduced in the recent
"GFS2: aggressively issue revokes in gfs2_log_flush" patch.

Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/trans.c

index 0fa0dbaf04a2613d9ef700983fbea6096e4e8800..2b20d7046bf353ff58381821d1fea363010f3716 100644 (file)
@@ -270,7 +270,6 @@ void gfs2_trans_add_meta(struct gfs2_glock *gl, struct buffer_head *bh)
 
 void gfs2_trans_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd)
 {
-       struct gfs2_glock *gl = bd->bd_gl;
        struct gfs2_trans *tr = current->journal_info;
 
        BUG_ON(!list_empty(&bd->bd_list));