gfs2: Remove vestigial bd_ops
A message that is not in the archive (sent off-list or not yet received): [email protected]
PATCH 1/1 gfs2: Remove vestigial bd_ops
Hi,
Field bd_ops was set but never used, so I removed it.
Signed-off-by Bob Peterson <[email protected]>
--- fs/gfs2/incore.h | 1 - fs/gfs2/log.c | 1 - fs/gfs2/trans.c | 1 - 3 files changed, 3 deletions(-)
fs/gfs2/incore.h +0 -1
@@ -165,7 +165,6 @@ struct gfs2_bufdata {u64 bd_blkno;struct list_head bd_list; -const struct gfs2_log_operations *bd_ops;struct gfs2_trans *bd_tr;struct list_head bd_ail_st_list;
fs/gfs2/log.c +0 -1
@@ -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);
fs/gfs2/trans.c +0 -1
@@ -132,7 +132,6 @@ static struct gfs2_bufdata *gfs2_alloc_bufdata(struct gfs2_glock *gl, bd =kmem_cache_zalloc (gfs2_bufdata_cachep,GFP_NOFS | __GFP_NOFAIL); bd->bd_bh = bh; bd->bd_gl = gl; - bd->bd_ops = lops;INIT_LIST_HEAD (&bd->bd_list); bh->b_private = bd;return bd;