]> 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)
commit92851058d72567c02e9013a0ba99f7920504cc52
tree84c04b1313c309965b233b9ad4d9d1d0f5a726c9
parentc6105eac546be0bf628b73fea9664a80099eab85
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