patch-1.3.24 linux/mm/filemap.c
Next file: linux/mm/kmalloc.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Sep 4 12:30:08 1995
- Orig file:
v1.3.23/linux/mm/filemap.c
- Orig date:
Sun Sep 3 12:27:04 1995
diff -u --recursive --new-file v1.3.23/linux/mm/filemap.c linux/mm/filemap.c
@@ -260,7 +260,7 @@
unsigned long end = address + size;
int error = 0;
- dir = pgd_offset(current, address);
+ dir = pgd_offset(current->mm, address);
while (address < end) {
error |= filemap_sync_pmd_range(dir, address, end - address, vma, flags);
address = (address + PGDIR_SIZE) & PGDIR_MASK;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this