From de6d0d2b5fbed267bae8f55edefbf7d86135f7c2 Mon Sep 17 00:00:00 2001 From: Alexander Viro Date: Wed, 27 Feb 2002 20:23:44 -0800 Subject: [PATCH] (3/7) kdev_t removals * sync_buffers() split in two functions (sync_buffers() and sync_all_buffers()). Callers of sync_buffers(NODEV) are using the latter, those who actually pass a device - the former. * sync_buffers() switched from kdev_t to struct block_device *. --- include/linux/fs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/linux/fs.h b/include/linux/fs.h index a39d861d25a3..414bf25bea5f 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1215,7 +1215,7 @@ extern void __invalidate_buffers(kdev_t dev, int); extern void sync_inodes(void); extern void sync_unlocked_inodes(void); extern void write_inode_now(struct inode *, int); -extern int sync_buffers(kdev_t, int); +extern int sync_buffers(struct block_device *, int); extern int fsync_dev(kdev_t); extern int fsync_bdev(struct block_device *); extern int fsync_super(struct super_block *); -- cgit v1.2.3