patch-2.0.19 linux/fs/namei.c
Next file: linux/fs/ncpfs/dir.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon Sep 9 21:04:57 1996
- Orig file:
v2.0.18/linux/fs/namei.c
- Orig date:
Sun Jul 7 20:27:04 1996
diff -u --recursive --new-file v2.0.18/linux/fs/namei.c linux/fs/namei.c
@@ -32,7 +32,7 @@
if (get_fs() == KERNEL_DS)
return 0;
- vma = find_vma(current, address);
+ vma = find_vma(current->mm, address);
if (!vma || vma->vm_start > address || !(vma->vm_flags & VM_READ))
return -EFAULT;
address = vma->vm_end - address;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov