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)
commitc5e4c3d7503453832444475641988ffa02b88b6d
tree31eecedf58d2ef195db606fefec63fbc5eaf1dfe
parent184f999e12152d1b1f284792ba4e82ef453ce7b7
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