summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2018-11-16 14:18:32 -0600
committerAndreas Gruenbacher <agruenba@redhat.com>2018-12-11 21:43:58 +0100
commitcbbe76c8bb27c0bea4bfa6cac56b5d4073b90687 (patch)
treee641346d23405681f95fac0eda8679bd3d549042 /fs/gfs2/log.c
parent2a5f14f279f59143139bcd1606903f2f80a34241 (diff)
downloadlinux-cbbe76c8bb27c0bea4bfa6cac56b5d4073b90687.tar.gz
linux-cbbe76c8bb27c0bea4bfa6cac56b5d4073b90687.tar.bz2
linux-cbbe76c8bb27c0bea4bfa6cac56b5d4073b90687.zip
gfs2: Remove vestigial bd_ops
Field bd_ops was set but never used, so I removed it, and all code supporting it. Signed-off-by: Bob Peterson <rpeterso@redhat.com> Acked-by: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
-rw-r--r--fs/gfs2/log.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/gfs2/log.c b/fs/gfs2/log.c
index 4dcd2b48189e..5bfaf381921a 100644
--- a/fs/gfs2/log.c
+++ b/fs/gfs2/log.c
@@ -605,7 +605,6 @@ void gfs2_add_revoke(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd)
bd->bd_blkno = bh->b_blocknr;
gfs2_remove_from_ail(bd); /* drops ref on bh */
bd->bd_bh = NULL;
- bd->bd_ops = &gfs2_revoke_lops;
sdp->sd_log_num_revoke++;
atomic_inc(&gl->gl_revokes);
set_bit(GLF_LFLUSH, &gl->gl_flags);