-/* Have to duplicate it here from fs/fs-writeback.c */
-struct wb_writeback_work {
- long nr_pages;
- struct super_block *sb;
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0))
- unsigned long *older_than_this;
-#endif
- enum writeback_sync_modes sync_mode;
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0))
- unsigned int tagged_writepages:1;
-#endif
- unsigned int for_kupdate:1;
- unsigned int range_cyclic:1;
- unsigned int for_background:1;
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,2,0))
- enum wb_reason reason; /* why was writeback initiated? */
-#endif
-
- struct list_head list; /* pending work list */
- struct completion *done; /* set if the caller waits */
-};