From: Jens Axboe Date: Sun, 1 May 2005 19:12:52 +0000 (-0700) Subject: [PATCH] Avoid unnecessary ide-cd cache flushes X-Git-Tag: v2.6.12-rc4~136^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7da21a02b3587157bd43910ea6d4c76661228ebb;p=pandora-kernel.git [PATCH] Avoid unnecessary ide-cd cache flushes 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed