summaryrefslogtreecommitdiff
path: root/drivers/message
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 /drivers/message
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 'drivers/message')
-rw-r--r--drivers/message/i2o/i2o_block.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c
index 538cbfccf121..243b962d66ab 100644
--- a/drivers/message/i2o/i2o_block.c
+++ b/drivers/message/i2o/i2o_block.c
@@ -1137,9 +1137,6 @@ static int i2ob_release(struct inode *inode, struct file *file)
if(!dev->i2odev)
return 0;
- /* Sync the device so we don't get errors */
- fsync_dev(inode->i_rdev);
-
if (dev->refcnt <= 0)
printk(KERN_ALERT "i2ob_release: refcount(%d) <= 0\n", dev->refcnt);
dev->refcnt--;