patch-2.0.19 linux/fs/super.c

Next file: linux/include/asm-alpha/semaphore.h
Previous file: linux/fs/smbfs/sock.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.18/linux/fs/super.c linux/fs/super.c
@@ -794,7 +794,7 @@
 	if (!data)
 		return 0;
 
-	vma = find_vma(current, (unsigned long) data);
+	vma = find_vma(current->mm, (unsigned long) data);
 	if (!vma || (unsigned long) data < vma->vm_start)
 		return -EFAULT;
 	if (!(vma->vm_flags & VM_READ))

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov