From: Josef Bacik Date: Wed, 21 Sep 2011 19:05:58 +0000 (-0400) Subject: Btrfs: use the inode's mapping mask for allocating pages X-Git-Tag: v3.2-rc1~21^2~24^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b16a4e3c355ee3c790473decfcf83d4faeb8ce0;p=pandora-kernel.git Btrfs: use the inode's mapping mask for allocating pages Johannes pointed out we were allocating only kernel pages for doing writes, which is kind of a big deal if you are on 32bit and have more than a gig of ram. So fix our allocations to use the mapping's gfp but still clear __GFP_FS so we don't re-enter. Thanks, Reported-by: Johannes Weiner Signed-off-by: Josef Bacik --- Reading git-diff-tree failed