From 8b6c1d56f2f5094b14b22a226b798ca3d186c0e9 Mon Sep 17 00:00:00 2001 From: David Sterba Date: Fri, 2 Jun 2017 17:48:13 +0200 Subject: btrfs: sink gfp parameter to btrfs_bio_clone All callers pass GFP_NOFS. Reviewed-by: Anand Jain Signed-off-by: David Sterba --- fs/btrfs/volumes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/btrfs/volumes.c') 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; -- cgit v1.2.3-55-g7522