From: Wang Shilong Date: Tue, 6 Aug 2013 02:29:54 +0000 (+0800) Subject: Btrfs: pass gfp_t to __add_prelim_ref() to avoid always using GFP_ATOMIC X-Git-Tag: v3.12-rc1~40^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=742916b885edbc6453b4769458959929746e8e7e;p=pandora-kernel.git Btrfs: pass gfp_t to __add_prelim_ref() to avoid always using GFP_ATOMIC Currently, only add_delayed_refs have to allocate with GFP_ATOMIC, So just pass arg 'gfp_t' to decide which allocation mode. Signed-off-by: Wang Shilong Reviewed-by: Miao Xie Reviewed-by: Jan Schmidt Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- Reading git-diff-tree failed