diff options
author | David Sterba <dsterba@suse.com> | 2017-06-02 17:48:13 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-06-19 18:26:03 +0200 |
commit | 8b6c1d56f2f5094b14b22a226b798ca3d186c0e9 (patch) | |
tree | cabbffcb5b517d7f26cc5c2e9a389e165a569a96 /fs/btrfs/volumes.c | |
parent | btrfs: btrfs_io_bio_alloc never fails, skip error handling (diff) | |
download | linux-8b6c1d56f2f5094b14b22a226b798ca3d186c0e9.tar.xz linux-8b6c1d56f2f5094b14b22a226b798ca3d186c0e9.zip |
btrfs: sink gfp parameter to btrfs_bio_clone
All callers pass GFP_NOFS.
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index ea9912157a56..c10d75fb2202 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -6256,7 +6256,7 @@ int btrfs_map_bio(struct btrfs_fs_info *fs_info, struct bio *bio, } if (dev_nr < total_devs - 1) - bio = btrfs_bio_clone(first_bio, GFP_NOFS); + bio = btrfs_bio_clone(first_bio); else bio = first_bio; |