diff options
author | Wang Shilong | 2013-08-06 10:29:54 +0800 |
---|---|---|
committer | Chris Mason | 2013-09-01 08:16:26 -0400 |
commit | 742916b885edbc6453b4769458959929746e8e7e (patch) | |
tree | 8eec349149de72e9f3d10f7d585814aa41e92324 /fs/btrfs/ulist.c | |
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>
Diffstat (limited to 'fs/btrfs/ulist.c')
0 files changed, 0 insertions, 0 deletions