diff options
Diffstat (limited to 'drivers/block/swim3.c')
-rw-r--r-- | drivers/block/swim3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/swim3.c b/drivers/block/swim3.c index 4dc442673..12be2e362 100644 --- a/drivers/block/swim3.c +++ b/drivers/block/swim3.c @@ -842,7 +842,7 @@ static int floppy_release(struct inode *inode, struct file *filp) return -ENXIO; fs = &floppy_states[0]; if (filp == 0 || (filp->f_mode & (2 | OPEN_WRITE_BIT))) - block_fsync(inode, filp); + block_fsync(filp, filp->f_dentry); sw = fs->swim3; if (fs->ref_count > 0 && --fs->ref_count == 0) { swim3_action(fs, MOTOR_OFF); |