OSDN Git Service

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)
commit9f2179a5e72b794f8af22a6818d83d1600050c5c
tree84c04b1313c309965b233b9ad4d9d1d0f5a726c9
parent8b6c1d56f2f5094b14b22a226b798ca3d186c0e9
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