public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] btrfs: fix gfp flags masking
@ 2010-03-15 15:00 Nick Piggin
  2010-03-15 15:29 ` Chris Mason
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Piggin @ 2010-03-15 15:00 UTC (permalink / raw)
  To: linux-btrfs, Chris Mason

Signed-off-by: Nick Piggin <npiggin@suse.de>
--
Index: linux-2.6/fs/btrfs/compression.c
===================================================================
--- linux-2.6.orig/fs/btrfs/compression.c
+++ linux-2.6/fs/btrfs/compression.c
@@ -478,7 +478,7 @@ static noinline int add_ra_bio_pages(str
 			goto next;
 		}
 
-		page = alloc_page(mapping_gfp_mask(mapping) | GFP_NOFS);
+		page = alloc_page(mapping_gfp_mask(mapping) & ~__GFP_FS);
 		if (!page)
 			break;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-15 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 15:00 [patch] btrfs: fix gfp flags masking Nick Piggin
2010-03-15 15:29 ` Chris Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox