Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3876296pxb; Tue, 26 Jan 2021 07:02:21 -0800 (PST) X-Google-Smtp-Source: ABdhPJwYEJt1g2+fKf1iT0ZR1KDS+QpCFwLzU9+2JG7m8rhya+0VIG5vDZIBfqjx0+8BuUp48aEt X-Received: by 2002:a17:906:3fc1:: with SMTP id k1mr3905723ejj.58.1611673340870; Tue, 26 Jan 2021 07:02:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611673340; cv=none; d=google.com; s=arc-20160816; b=PKwtbkWjslbd4N6Qf3lsanNaV5g5eB2rx5iIJH0DKEvuU1XpgC0wkcCmZQFHvC5zVe 0R7FEQjknLo6f6qBvt5nH5FcL02QqDIW4TX8KG6dBpWHDfwy366VdxXD9gH0l/PtDkfx q3tik/rINhunH5zz3AgMCV33bt/Jbtd06i2NUilhU9Y93F+HvUUuUL0fwM4FDHxGBiR7 TZab4/EVrJbzh7OnMWKaBlxqlo7WkJ6QEXbIRVziCoQKqXA/Wwb8wMCnWvDApxa467eD +KoOE73K2ezOShzaS4jQ9cFS8tMzaR/58T6Gp/14U8FdGCu31idvFNoAv/siS4lmXHK0 BP4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=nvbz5iYtrf14To4xrwKMIwRiNRZctL670kk4gnUD88w=; b=KthNbVvWlwyrF/KzPXheAIMqCpud3VwJF/wv/oX4yTh9EQpVcaUbbqqHwy6L/7wq1s eXZ+X+ty+8u3GrUctq6hJqsz0BKV7F/5ldOY1PGFe41XcBfzi3XGaFNQPYNXW4NLScXQ E5Wxf+Q0Y7XGTwkkocPyYzJwf8Vp4L7VibyxziclRSfzia6SGNGyAP4pmK/a7Rd2hvgX g5IafpYu6QObWZBQCcEpwhq50VtahH1550d7XVqAtxk6orlaReRfntz2lqKj6aECzIeF gk9eoX5nXc/h5Y+r41XqRK4FErSYwTolXxGMUXram1+wf+PYKDd7P7JiW8cxyPjuMXz0 TvUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=JoPiLXDS; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id la11si3470887ejc.399.2021.01.26.07.01.53; Tue, 26 Jan 2021 07:02:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=JoPiLXDS; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405881AbhAZPAp (ORCPT + 99 others); Tue, 26 Jan 2021 10:00:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391197AbhAZPAf (ORCPT ); Tue, 26 Jan 2021 10:00:35 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA17BC061A31; Tue, 26 Jan 2021 06:59:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=nvbz5iYtrf14To4xrwKMIwRiNRZctL670kk4gnUD88w=; b=JoPiLXDSpvjKkodegpd/9Ki4eY +Xdf/GZ8NV/UcLDXZzZtEKsp27c7jZGL9XRkRoIjfSyaWrDECY/eM9d9EbW3hXiTfEZtMMSfbBElv gxIVvRv7JpUfBVu5HVmbC3V6jeIbpcuVLSOs+QAFB4JLCdJmf6UjhHo8cMfMWB6QtuEojK2aE4Zs4 0EGwmh02yAfrn/3WhiiWW7P8cSoEUgeZK/uRN5Lli1a73a/4gQNDmMn9/nUDRCLyehO8q38TrrVt2 Zp6tMS6WW0vuepmGDzOzrMfYXxlrsWqTSndYRyd8M3WUvaX0Wj1qAjSBNOpkRcDMl8FKs9wfJKhsN NNqeQ+0g==; Received: from [2001:4bb8:191:e347:5918:ac86:61cb:8801] (helo=localhost) by casper.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux)) id 1l4PjX-005m4E-5t; Tue, 26 Jan 2021 14:54:48 +0000 From: Christoph Hellwig To: Jens Axboe , Song Liu Cc: Jaegeuk Kim , Chao Yu , Philipp Reisner , Lars Ellenberg , Coly Li , Mike Snitzer , Josef Bacik , David Sterba , Damien Le Moal , Naohiro Aota , Andrew Morton , Ryusuke Konishi , linux-nilfs@vger.kernel.org, dm-devel@redhat.com, linux-f2fs-devel@lists.sourceforge.net, linux-block@vger.kernel.org, drbd-dev@lists.linbit.com, linux-bcache@vger.kernel.org, linux-raid@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, linux-nfs@vger.kernel.org, linux-mm@kvack.org Subject: [PATCH 01/17] zonefs: use bio_alloc in zonefs_file_dio_append Date: Tue, 26 Jan 2021 15:52:31 +0100 Message-Id: <20210126145247.1964410-2-hch@lst.de> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210126145247.1964410-1-hch@lst.de> References: <20210126145247.1964410-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Use bio_alloc instead of open coding it. Signed-off-by: Christoph Hellwig --- fs/zonefs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/zonefs/super.c b/fs/zonefs/super.c index bec47f2d074beb..faea2ed34b4a37 100644 --- a/fs/zonefs/super.c +++ b/fs/zonefs/super.c @@ -678,7 +678,7 @@ static ssize_t zonefs_file_dio_append(struct kiocb *iocb, struct iov_iter *from) if (!nr_pages) return 0; - bio = bio_alloc_bioset(GFP_NOFS, nr_pages, &fs_bio_set); + bio = bio_alloc(GFP_NOFS, nr_pages); if (!bio) return -ENOMEM; -- 2.29.2