diff options
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | 2013-08-06 10:29:54 +0800 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-09-01 08:16:26 -0400 |
commit | 742916b885edbc6453b4769458959929746e8e7e (patch) | |
tree | 8eec349149de72e9f3d10f7d585814aa41e92324 /fs/btrfs/backref.h | |
parent | f71717502460c5cd6409b66835b17ae00af6d5f1 (diff) | |
download | linux-stable-742916b885edbc6453b4769458959929746e8e7e.tar.gz linux-stable-742916b885edbc6453b4769458959929746e8e7e.tar.bz2 linux-stable-742916b885edbc6453b4769458959929746e8e7e.zip |
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/backref.h')
0 files changed, 0 insertions, 0 deletions