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/inode.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/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index 1fde50a430a9..96bbc836d071 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -8583,7 +8583,7 @@ static void btrfs_submit_direct(struct bio *dio_bio, struct inode *inode, skip_sum = BTRFS_I(inode)->flags & BTRFS_INODE_NODATASUM; - bio = btrfs_bio_clone(dio_bio, GFP_NOFS); + bio = btrfs_bio_clone(dio_bio); dip = kzalloc(sizeof(*dip), GFP_NOFS); if (!dip) { |