Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24-git20 /fs/direct-io.c

Filename:/fs/direct-io.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.24-git19  2.6.24-git18  2.6.24-git17  2.6.24-git16  2.6.24-git15  2.6.24 
(Following) 2.6.24-git21  2.6.24-git22  2.6.25-rc1  2.6.25-rc2  2.6.25-rc3  2.6.25-rc4 

Location
[  2.6.24-git20
  [  fs
     o  direct-io.c

Patch

diff --git a/fs/direct-io.c b/fs/direct-io.c
index acf0da1..9e81add 100644
--- a/fs/direct-io.c
+++ b/fs/direct-io.c
@@ -878,8 +878,8 @@ do_holes:
                page_cache_release(page);
                goto out;
             }
-            zero_user_page(page, block_in_page << blkbits,
-                  1 << blkbits, KM_USER0);
+            zero_user(page, block_in_page << blkbits,
+                  1 << blkbits);
             dio->block_in_file++;
             block_in_page++;
             goto next_block;


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.