aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lops.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/gfs2/lops.h')
-rw-r--r--fs/gfs2/lops.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/fs/gfs2/lops.h b/fs/gfs2/lops.h
index 825356d9dc1..954a330585f 100644
--- a/fs/gfs2/lops.h
+++ b/fs/gfs2/lops.h
@@ -46,17 +46,17 @@ static inline unsigned int databuf_limit(struct gfs2_sbd *sdp)
46 return limit; 46 return limit;
47} 47}
48 48
49static inline void lops_init_le(struct gfs2_log_element *le, 49static inline void lops_init_le(struct gfs2_bufdata *bd,
50 const struct gfs2_log_operations *lops) 50 const struct gfs2_log_operations *lops)
51{ 51{
52 INIT_LIST_HEAD(&le->le_list); 52 INIT_LIST_HEAD(&bd->bd_list);
53 le->le_ops = lops; 53 bd->bd_ops = lops;
54} 54}
55 55
56static inline void lops_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) 56static inline void lops_add(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd)
57{ 57{
58 if (le->le_ops->lo_add) 58 if (bd->bd_ops->lo_add)
59 le->le_ops->lo_add(sdp, le); 59 bd->bd_ops->lo_add(sdp, bd);
60} 60}
61 61
62static inline void lops_before_commit(struct gfs2_sbd *sdp) 62static inline void lops_before_commit(struct gfs2_sbd *sdp)