summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-02-27 20:23:33 -0800
committerLinus Torvalds <torvalds@penguin.transmeta.com>2002-02-27 20:23:33 -0800
commit7155112cbcab15e2e34809c97c89907b8fa8013e (patch)
treeb5d82a5e69f94544f9f7adcee522347a3fb9e977 /include
parent8a0acc94ebedbcc6459763c1b391a3f83a5e8df0 (diff)
[PATCH] (1/7) kdev_t removals
* new function - fsync_bdev() (analog of fsync_dev(), but takes struct block_device * instead of kdev_t. Callers of fsync_dev() that have struct block_device in question are using fsync_bdev() now. * old code for fsync_dev(NODEV) had been moved to sys_sync(). Other callers of fsync_dev(NODEV) are calling sys_sync() now. * fsync_dev() became a wrapper fro fsync_bdev(). * sync_dev() (not used anywhere in the tree) is gone. * i2oblock.c had fsync_dev() called in ->release(). Removed. * s390/block/xparm.c was doing fsync_dev() on its devices in cleanup_module(). Removed.
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 89208aabe5b8..f9399b56d73d 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1216,8 +1216,8 @@ extern void sync_inodes(kdev_t);
extern void sync_unlocked_inodes(void);
extern void write_inode_now(struct inode *, int);
extern int sync_buffers(kdev_t, int);
-extern void sync_dev(kdev_t);
extern int fsync_dev(kdev_t);
+extern int fsync_bdev(struct block_device *);
extern int fsync_super(struct super_block *);
extern int fsync_no_super(struct block_device *);
extern void sync_inodes_sb(struct super_block *);