summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.c
diff options
context:
space:
mode:
authorDavid Sterba2017-06-02 17:48:13 +0200
committerDavid Sterba2017-06-19 18:26:03 +0200
commit8b6c1d56f2f5094b14b22a226b798ca3d186c0e9 (patch)
treecabbffcb5b517d7f26cc5c2e9a389e165a569a96 /fs/btrfs/volumes.c
parentbtrfs: btrfs_io_bio_alloc never fails, skip error handling (diff)
downloadkernel-qcow2-linux-8b6c1d56f2f5094b14b22a226b798ca3d186c0e9.tar.gz
kernel-qcow2-linux-8b6c1d56f2f5094b14b22a226b798ca3d186c0e9.tar.xz
kernel-qcow2-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.c2
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;