diff options
Diffstat (limited to 'fs/gfs2/lops.h')
-rw-r--r-- | fs/gfs2/lops.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/gfs2/lops.h b/fs/gfs2/lops.h index 9ca2e6438419..a65a7ba32ffd 100644 --- a/fs/gfs2/lops.h +++ b/fs/gfs2/lops.h | |||
@@ -46,12 +46,13 @@ static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) | |||
46 | return limit; | 46 | return limit; |
47 | } | 47 | } |
48 | 48 | ||
49 | static inline void lops_before_commit(struct gfs2_sbd *sdp) | 49 | static inline void lops_before_commit(struct gfs2_sbd *sdp, |
50 | struct gfs2_trans *tr) | ||
50 | { | 51 | { |
51 | int x; | 52 | int x; |
52 | for (x = 0; gfs2_log_ops[x]; x++) | 53 | for (x = 0; gfs2_log_ops[x]; x++) |
53 | if (gfs2_log_ops[x]->lo_before_commit) | 54 | if (gfs2_log_ops[x]->lo_before_commit) |
54 | gfs2_log_ops[x]->lo_before_commit(sdp); | 55 | gfs2_log_ops[x]->lo_before_commit(sdp, tr); |
55 | } | 56 | } |
56 | 57 | ||
57 | static inline void lops_after_commit(struct gfs2_sbd *sdp, | 58 | static inline void lops_after_commit(struct gfs2_sbd *sdp, |