projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59afda7
)
[PATCH] swapout oops fix
author
McMullan, Jason
<jason.mcmullan@timesys.com>
Tue, 17 May 2005 04:53:40 +0000
(21:53 -0700)
committer
Linus Torvalds
<torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:18 +0000
(07:59 -0700)
Fix OOPS when swapping on a device that doesn't have an unplug_io_fn defined
(eg, ATA Over Ethernet)
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/swapfile.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/swapfile.c
b/mm/swapfile.c
index a60e0075d55bd4d5692a5b39f146a7cedffe51e7..da48405cd9a3199d9088d1221864fa77a76a108d 100644
(file)
--- a/
mm/swapfile.c
+++ b/
mm/swapfile.c
@@
-79,7
+79,7
@@
void swap_unplug_io_fn(struct backing_dev_info *unused_bdi, struct page *page)
WARN_ON(page_count(page) <= 1);
bdi = bdev->bd_inode->i_mapping->backing_dev_info;
- b
di->unplug_io_fn
(bdi, page);
+ b
lk_run_backing_dev
(bdi, page);
}
up_read(&swap_unplug_sem);
}
This page took
0.024703 seconds
and
5
git commands to generate.