VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Nick Piggin <npiggin@suse.de> 2010-05-25 10:25:26 +0200 committer: Jens Axboe <jens.axboe@oracle.com> 2010-05-25 10:25:26 +0200 commit: 0ae0b5d0557264bad65e22f1e2da4b83a02c4535 parent: d02a2c077fb81f3224c770be62a318165b23b486
Commit Summary:
fs/splice.c: fix mapping_gfp_mask usage
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/splice.c b/fs/splice.c
index ac22b00d86c3..740e6b9faf7a 100644
--- a/fs/splice.c
+++ b/fs/splice.c
@@ -354,7 +354,7 @@ __generic_file_splice_read(struct file *in, loff_t *ppos,
 				break;
 
 			error = add_to_page_cache_lru(page, mapping, index,
-						mapping_gfp_mask(mapping));
+						GFP_KERNEL);
 			if (unlikely(error)) {
 				page_cache_release(page);
 				if (error == -EEXIST)