patch-2.3.11 linux/mm/filemap.c
Next file: linux/mm/memory.c
Previous file: linux/kernel/sysctl.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Jul 12 07:49:36 1999
- Orig file:
v2.3.10/linux/mm/filemap.c
- Orig date:
Thu Jul 8 15:42:21 1999
diff -u --recursive --new-file v2.3.10/linux/mm/filemap.c linux/mm/filemap.c
@@ -463,7 +463,7 @@
flags = page->flags & ~((1 << PG_uptodate) | (1 << PG_error));
page->flags = flags | ((1 << PG_locked) | (1 << PG_referenced));
- page->owner = (int)current; /* REMOVEME */
+ page->owner = current; /* REMOVEME */
get_page(page);
page->offset = offset;
add_page_to_inode_queue(inode, page);
@@ -1855,7 +1855,7 @@
if (!PageLocked(page)) {
PAGE_BUG(page);
} else {
- if (page->owner != (int)current) {
+ if (page->owner != current) {
PAGE_BUG(page);
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)