lkml.org 
[lkml]   [2001]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
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 13:12    [W:0.028 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site