Re: [PATCH] page-writeback.c compile warning fix

From: Andrew Morton (akpm@zip.com.au)
Date: Tue Jul 23 2002 - 15:55:25 EST


Robert Love wrote:
>
> Andrew and Linus,
>
> Compile of mm/page-writeback.c gives a warning of undefined use of
> "writeback_backing_dev()".
>

Yeah, sorry. I missed a file when generating the diff. I have
this in the pending pile:

 writeback.h | 5 +++++
 1 files changed, 5 insertions(+)

--- 2.5.27/include/linux/writeback.h~writeback-warning Mon Jul 22 12:33:39 2002
+++ 2.5.27-akpm/include/linux/writeback.h Mon Jul 22 12:33:44 2002
@@ -8,6 +8,8 @@
 #ifndef WRITEBACK_H
 #define WRITEBACK_H
 
+struct backing_dev_info;
+
 extern spinlock_t inode_lock;
 extern struct list_head inode_in_use;
 extern struct list_head inode_unused;
@@ -38,6 +40,9 @@ void wake_up_inode(struct inode *inode);
 void __wait_on_inode(struct inode * inode);
 void sync_inodes_sb(struct super_block *, int wait);
 void sync_inodes(int wait);
+void writeback_backing_dev(struct backing_dev_info *bdi, int *nr_to_write,
+ enum writeback_sync_modes sync_mode,
+ unsigned long *older_than_this);
 
 /* writeback.h requires fs.h; it, too, is not included from here. */
 static inline void wait_on_inode(struct inode *inode)

.
-
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/



This archive was generated by hypermail 2b29 : Tue Jul 23 2002 - 22:00:44 EST