]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: remove redundant parameters from btrfs_bio_alloc
authorDavid Sterba <dsterba@suse.com>
Fri, 2 Jun 2017 15:55:44 +0000 (17:55 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Jun 2017 16:26:03 +0000 (18:26 +0200)
commit3a578e0239e8916380d95324a1e94a945e31c071
tree84c04b1313c309965b233b9ad4d9d1d0f5a726c9
parent80b2c560b47934b3b002cf1a91cafe1fbf99a747
btrfs: remove redundant parameters from btrfs_bio_alloc

All callers pass gfp_flags=GFP_NOFS and nr_vecs=BIO_MAX_PAGES.

submit_extent_page adds __GFP_HIGH that does not make a difference in
our case as it allows access to memory reserves but otherwise does not
change the constraints.

Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/compression.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h