diff options
author | Jens Axboe <axboe@suse.de> | 2005-05-01 12:12:52 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-01 12:12:52 -0700 |
commit | 7da21a02b3587157bd43910ea6d4c76661228ebb (patch) | |
tree | 192ac868b9d0854d31fb04a21a968796892cbf94 /mm/swap_state.c | |
parent | 76530da1a9e8ce05963b1f49a098eddc6ec6c534 (diff) |
[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 <axboe@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions