mirror of
https://github.com/joel16/android_kernel_sony_msm8994_rework.git
synced 2025-01-29 21:45:17 +00:00
7da21a02b3
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>