]> err.no Git - linux-2.6/blobdiff - fs/gfs2/lops.h
[GFS2] flush the log if a transaction can't allocate space
[linux-2.6] / fs / gfs2 / lops.h
index 2e3365c2b1019fd04a4c1e1e5b357edf47d4473e..965bc65c7c6432b9f47f3937d4dbd27f5b4c9446 100644 (file)
@@ -10,6 +10,9 @@
 #ifndef __LOPS_DOT_H__
 #define __LOPS_DOT_H__
 
+#include <linux/list.h>
+#include "incore.h"
+
 extern const struct gfs2_log_operations gfs2_glock_lops;
 extern const struct gfs2_log_operations gfs2_buf_lops;
 extern const struct gfs2_log_operations gfs2_revoke_lops;
@@ -57,7 +60,7 @@ static inline void lops_after_commit(struct gfs2_sbd *sdp, struct gfs2_ail *ai)
 }
 
 static inline void lops_before_scan(struct gfs2_jdesc *jd,
-                                   struct gfs2_log_header *head,
+                                   struct gfs2_log_header_host *head,
                                    unsigned int pass)
 {
        int x;