lkml.org 
[lkml]   [2001]   [Nov]   [6]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
DateTue, 6 Nov 2001 00:25:16 -0500 (EST)
From"Mohammad A. Haque" <>
Subject[patch] remove deactivate_page call in loop.c
No problems so far.
Since lots of people are asking about this....
-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/
                                               mhaque@haque.net
  "Alcohol and calculus don't mix.             Developer/Project Lead
   Don't drink and derive." --Unknown          http://www.themes.org/
                                               batmanppc@themes.org
=====================================================================--- linux/drivers/block/loop.c.orig	Mon Nov  5 23:01:10 2001
+++ linux/drivers/block/loop.c	Tue Nov  6 00:21:59 2001
@@ -218,14 +218,12 @@
 		index++;
 		pos += size;
 		UnlockPage(page);
-		deactivate_page(page);
 		page_cache_release(page);
 	}
 	return 0;
 
 unlock:
 	UnlockPage(page);
-	deactivate_page(page);
 	page_cache_release(page);
 fail:
 	return -1;
\
 
 \ /
  Last update: 2005-03-22 12:12    [W:0.289 / U:0.110 seconds]
©2003-2008 Jasper Spaans