|
@@ -52,14 +52,6 @@ struct wb_writeback_work {
|
|
|
struct completion *done; /* set if the caller waits */
|
|
|
};
|
|
|
|
|
|
-/*
|
|
|
- * Include the creation of the trace points after defining the
|
|
|
- * wb_writeback_work structure so that the definition remains local to this
|
|
|
- * file.
|
|
|
- */
|
|
|
-#define CREATE_TRACE_POINTS
|
|
|
-#include <trace/events/writeback.h>
|
|
|
-
|
|
|
/*
|
|
|
* We don't actually have pdflush, but this one is exported though /proc...
|
|
|
*/
|
|
@@ -92,6 +84,14 @@ static inline struct inode *wb_inode(struct list_head *head)
|
|
|
return list_entry(head, struct inode, i_wb_list);
|
|
|
}
|
|
|
|
|
|
+/*
|
|
|
+ * Include the creation of the trace points after defining the
|
|
|
+ * wb_writeback_work structure and inline functions so that the definition
|
|
|
+ * remains local to this file.
|
|
|
+ */
|
|
|
+#define CREATE_TRACE_POINTS
|
|
|
+#include <trace/events/writeback.h>
|
|
|
+
|
|
|
/* Wakeup flusher thread or forker thread to fork it. Requires bdi->wb_lock. */
|
|
|
static void bdi_wakeup_flusher(struct backing_dev_info *bdi)
|
|
|
{
|