Messages in this thread Patch in this message | | | Date | Fri, 20 Jul 2012 10:21:29 +0800 | From | Fengguang Wu <> | Subject | Re: [PATCH 6/8] vfs: Make sys_sync writeout also block device inodes |
| |
Hi Al,
Would you please fold the below fix to commit 5c781a65fff ("vfs: Create function for iterating over block devices")?
Thanks, Fengguang --- Subject: [PATCH] sync: fix build error on iterate_bdevs()
fs/sync.c:110:2: error: implicit declaration of function 'iterate_bdevs'
--- include/linux/fs.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/include/linux/fs.h b/include/linux/fs.h index ef839a7..b62af06 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -2124,6 +2124,10 @@ static inline int thaw_bdev(struct block_device *bdev, struct super_block *sb) { return 0; } + +static inline void iterate_bdevs(void (*func)(struct block_device *, void *), void *arg) +{ +} #endif extern int sync_filesystem(struct super_block *); extern const struct file_operations def_blk_fops; -- 1.7.10
| |