diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /fs/gfs2/lops.h | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'fs/gfs2/lops.h')
-rw-r--r-- | fs/gfs2/lops.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/fs/gfs2/lops.h b/fs/gfs2/lops.h index 954a330585f..3c0b2737658 100644 --- a/fs/gfs2/lops.h +++ b/fs/gfs2/lops.h | |||
@@ -27,8 +27,6 @@ extern const struct gfs2_log_operations gfs2_rg_lops; | |||
27 | extern const struct gfs2_log_operations gfs2_databuf_lops; | 27 | extern const struct gfs2_log_operations gfs2_databuf_lops; |
28 | 28 | ||
29 | extern const struct gfs2_log_operations *gfs2_log_ops[]; | 29 | extern const struct gfs2_log_operations *gfs2_log_ops[]; |
30 | extern void gfs2_log_write_page(struct gfs2_sbd *sdp, struct page *page); | ||
31 | extern void gfs2_log_flush_bio(struct gfs2_sbd *sdp, int rw); | ||
32 | 30 | ||
33 | static inline unsigned int buf_limit(struct gfs2_sbd *sdp) | 31 | static inline unsigned int buf_limit(struct gfs2_sbd *sdp) |
34 | { | 32 | { |
@@ -46,17 +44,17 @@ static inline unsigned int databuf_limit(struct gfs2_sbd *sdp) | |||
46 | return limit; | 44 | return limit; |
47 | } | 45 | } |
48 | 46 | ||
49 | static inline void lops_init_le(struct gfs2_bufdata *bd, | 47 | static inline void lops_init_le(struct gfs2_log_element *le, |
50 | const struct gfs2_log_operations *lops) | 48 | const struct gfs2_log_operations *lops) |
51 | { | 49 | { |
52 | INIT_LIST_HEAD(&bd->bd_list); | 50 | INIT_LIST_HEAD(&le->le_list); |
53 | bd->bd_ops = lops; | 51 | le->le_ops = lops; |
54 | } | 52 | } |
55 | 53 | ||
56 | static inline void lops_add(struct gfs2_sbd *sdp, struct gfs2_bufdata *bd) | 54 | static inline void lops_add(struct gfs2_sbd *sdp, struct gfs2_log_element *le) |
57 | { | 55 | { |
58 | if (bd->bd_ops->lo_add) | 56 | if (le->le_ops->lo_add) |
59 | bd->bd_ops->lo_add(sdp, bd); | 57 | le->le_ops->lo_add(sdp, le); |
60 | } | 58 | } |
61 | 59 | ||
62 | static inline void lops_before_commit(struct gfs2_sbd *sdp) | 60 | static inline void lops_before_commit(struct gfs2_sbd *sdp) |