Displaying 1 result from an estimated 1 matches for "gfp_slab_bug_mask".
2012 Jan 26
1
[PATCH] btrfs: mask out gfp flasg in releasepage
...RFS_I(page->mapping->host)->extent_tree;
+ /*
+ * We need to mask out eg. __GFP_HIGHMEM and __GFP_DMA32 as we''re doing
+ * slab allocation from alloc_extent_state down the callchain where
+ * it''d hit a BUG_ON as those flags are not allowed.
+ */
+ gfp_flags &= ~GFP_SLAB_BUG_MASK;
+
ret = try_release_extent_state(map, tree, page, gfp_flags);
if (!ret)
return 0;
--
1.7.8
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-inf...