[PATCH] remove do_sync parameter from __invalidate_device
[linux-3.10.git] / drivers / block / floppy.c
index 42dfa281a880f684ba6b187cbb57712f752e6afe..f0c1084b840fd9fceb465521b1bb8cbbc7198529 100644 (file)
@@ -3345,7 +3345,7 @@ static inline int set_geometry(unsigned int cmd, struct floppy_struct *g,
                        struct block_device *bdev = opened_bdev[cnt];
                        if (!bdev || ITYPE(drive_state[cnt].fd_device) != type)
                                continue;
-                       __invalidate_device(bdev, 0);
+                       __invalidate_device(bdev);
                }
                up(&open_lock);
        } else {