mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-03-04 02:30:14 +00:00

Only issue a cdrom cache flush if we've done write to the drive. The ->media_written() flag keeps track of that. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>