patch-2.1.39 linux/mm/memory.c
Next file: linux/CREDITS
Previous file: linux/include/linux/sunrpc/clnt.h
Back to the patch index
Back to the overall index
-  Lines: 10
-  Date:
Fri May 16 09:58:31 1997
-  Orig file: 
v2.1.38/linux/mm/memory.c
-  Orig date: 
Thu May 15 16:48:05 1997
diff -u --recursive --new-file v2.1.38/linux/mm/memory.c linux/mm/memory.c
@@ -725,7 +725,7 @@
 		flush_cache_range(mm, start, end);
 		zap_page_range(mm, start, len);
 		flush_tlb_range(mm, start, end);
-	} while ((mpnt = mpnt->vm_next_share) != inode->i_mmap);
+	} while ((mpnt = mpnt->vm_next_share) != NULL);
 }
 
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov