diff options
author | Pavel Machek | 2006-02-07 21:58:22 +0100 |
---|---|---|
committer | Linus Torvalds | 2006-02-08 01:12:31 +0100 |
commit | 7714d5985bb7101a90fb427dc29dc592cf1b960e (patch) | |
tree | 60079a07fcbe5ac38c48e0ddc24d8132c66abe8c /net | |
parent | [PATCH] drivers/base/bus.c warning fixes (diff) | |
download | kernel-qcow2-linux-7714d5985bb7101a90fb427dc29dc592cf1b960e.tar.gz kernel-qcow2-linux-7714d5985bb7101a90fb427dc29dc592cf1b960e.tar.xz kernel-qcow2-linux-7714d5985bb7101a90fb427dc29dc592cf1b960e.zip |
[PATCH] swsusp: kill unneeded/unbalanced bio_get
- Remove unneeded bio_get() which would cause a bio leak
- Writing doesn't dirty pages. Reading dirties pages.
- We should dirty the pages after the IO completion, not before
(Busy-waiting for disk I/O completion isn't very polite.)
Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions