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

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

Advertisement

Kernel v2.6.24.6-rc1 /fs/splice.c

Filename:/fs/splice.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.6.24.5  2.6.24.4  2.6.24.2  2.6.24-git22  2.6.24-git21  2.6.24-git20 
(Following) 2.6.24.6  2.6.24.7  2.6.25-git14  2.6.25-git15  2.6.25-git16  2.6.25-git17 

Location
[  2.6.24.6-rc1
  [  fs
     o  splice.c

Patch

diff --git a/fs/splice.c b/fs/splice.c
index e313478..109153c 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -314,7 +314,7 @@ __generic_file_splice_read(struct file *in, loff_t *ppos,
             break;
 
          error = add_to_page_cache_lru(page, mapping, index,
-                     GFP_KERNEL);
+                  mapping_gfp_mask(mapping));
          if (unlikely(error)) {
             page_cache_release(page);
             if (error == -EEXIST)


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