[PATCH] page-writeback.c compile warning fix

Robert Love (rml@tech9.net)
23 Jul 2002 13:50:53 -0700


Andrew and Linus,

Compile of mm/page-writeback.c gives a warning of undefined use of
"writeback_backing_dev()".

Patch is against 2.5.27, please apply.

Robert Love

diff -urN linux-2.5.27/include/linux/backing-dev.h linux/include/linux/backing-dev.h
--- linux-2.5.27/include/linux/backing-dev.h Sat Jul 20 12:11:12 2002
+++ linux/include/linux/backing-dev.h Tue Jul 23 13:47:34 2002
@@ -26,5 +26,7 @@
int writeback_acquire(struct backing_dev_info *bdi);
int writeback_in_progress(struct backing_dev_info *bdi);
void writeback_release(struct backing_dev_info *bdi);
+void writeback_backing_dev(struct backing_dev_info *bdi, int *nr_to_write,
+ enum writeback_sync_modes sync_mode, unsigned long *older_than_this);

#endif /* _LINUX_BACKING_DEV_H */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/