]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: sink gfp parameter to btrfs_io_bio_alloc
authorDavid Sterba <dsterba@suse.com>
Mon, 12 Jun 2017 15:29:41 +0000 (17:29 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:04 +0000 (18:26 +0200)
commitc83565c7c5f784e07a3317f0505ea9acffba2bec
tree31eecedf58d2ef195db606fefec63fbc5eaf1dfe
parent459706915834d925387d795a9ea5f39c1ee18271
btrfs: sink gfp parameter to btrfs_io_bio_alloc

We can hardcode GFP_NOFS to btrfs_io_bio_alloc, although it means we
change it back from GFP_KERNEL in scrub. I'd rather save a few stack
bytes from not passing the gfp flags in the remaining, more imporatant,
contexts and the bio allocating API now looks more consistent.

Reviewed-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/check-integrity.c
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/raid56.c
fs/btrfs/scrub.c