patch-2.1.45 linux/arch/sparc64/mm/fault.c

Next file: linux/arch/sparc64/mm/ultra.S
Previous file: linux/arch/sparc64/lib/strlen_user.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.44/linux/arch/sparc64/mm/fault.c linux/arch/sparc64/mm/fault.c
@@ -1,4 +1,4 @@
-/* $Id: fault.c,v 1.17 1997/07/04 01:41:10 davem Exp $
+/* $Id: fault.c,v 1.18 1997/07/17 02:20:56 davem Exp $
  * arch/sparc64/mm/fault.c: Page fault handlers for the 64-bit Sparc.
  *
  * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
@@ -228,7 +228,7 @@
 	pte_t *ptep;
 	int alias_found = 0;
 
-	inode = vma->vm_inode;
+	inode = vma->vm_dentry->d_inode;
 	if(!inode)
 		return;
 

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