commit | 742916b885edbc6453b4769458959929746e8e7e | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | Tue Aug 06 10:29:54 2013 +0800 |
committer | Chris Mason <chris.mason@fusionio.com> | Sun Sep 01 08:16:26 2013 -0400 |
tree | 8eec349149de72e9f3d10f7d585814aa41e92324 | |
parent | f71717502460c5cd6409b66835b17ae00af6d5f1 [diff] |
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 <wangsl.fnst@cn.fujitsu.com> Reviewed-by: Miao Xie <miaox@cn.fujitsu.com> Reviewed-by: Jan Schmidt <list.btrfs@jan-o-sch.net> Signed-off-by: Josef Bacik <jbacik@fusionio.com> Signed-off-by: Chris Mason <chris.mason@fusionio.com>