* [PATCH] page-writeback.c compile warning fix
@ 2002-07-23 20:50 Robert Love
2002-07-23 20:55 ` Andrew Morton
0 siblings, 1 reply; 2+ messages in thread
From: Robert Love @ 2002-07-23 20:50 UTC (permalink / raw)
To: akpm, torvalds; +Cc: linux-kernel
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 */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] page-writeback.c compile warning fix
2002-07-23 20:50 [PATCH] page-writeback.c compile warning fix Robert Love
@ 2002-07-23 20:55 ` Andrew Morton
0 siblings, 0 replies; 2+ messages in thread
From: Andrew Morton @ 2002-07-23 20:55 UTC (permalink / raw)
To: Robert Love; +Cc: torvalds, linux-kernel
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)
.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-23 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-23 20:50 [PATCH] page-writeback.c compile warning fix Robert Love
2002-07-23 20:55 ` Andrew Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox