Message ID | 20180627124548.3456-5-ming.lei@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0E1CB60325 for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 27 Jun 2018 12:46:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFFE928D7A for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 27 Jun 2018 12:46:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E451628D80; Wed, 27 Jun 2018 12:46:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 603CD28D7A for <patchwork-linux-mm@patchwork.kernel.org>; Wed, 27 Jun 2018 12:46:48 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 79F216B026D; Wed, 27 Jun 2018 08:46:47 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 74D806B026E; Wed, 27 Jun 2018 08:46:47 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 616ED6B026F; Wed, 27 Jun 2018 08:46:47 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-qt0-f197.google.com (mail-qt0-f197.google.com [209.85.216.197]) by kanga.kvack.org (Postfix) with ESMTP id 356066B026D for <linux-mm@kvack.org>; Wed, 27 Jun 2018 08:46:47 -0400 (EDT) Received: by mail-qt0-f197.google.com with SMTP id i7-v6so1884118qtp.4 for <linux-mm@kvack.org>; Wed, 27 Jun 2018 05:46:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:in-reply-to:references; bh=17be2U4HhLxEE1J/Rppu7cUxGGNEQmSqg6Tc1iTvU1Y=; b=rkmvHc+vUIoLRcwo6JC0P8JE9pH21PYmBF1MbWf540f9rVwHlbsnwGFMhJ0nZ1rlWo NNO5HXav2XIJB2b0VSiVReB6IvxcoGnJjGHsAqdM3CZ/zwjnfxczRLUdvWLiiETsf2NL xhyO7i3ZozwUeK0dIA99jqCPq0hIaXNOl7Tvi+zLt+E262Xpczr9RYyTWqmgcxj3TUXS ZVsRO2ZTaVFaPlK7RX4G+iDIxJppU/YXL3eIpVmcckB/SvOLgxGd8ZMZGR3bFS7xRhz6 9zpKJtCPo1s2KzJDL+B5+1tx+ujCkZ+Si7NKGuXRzZwT/Wj97ct4uNErwsRZTYF3pQw7 DGow== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of ming.lei@redhat.com designates 66.187.233.73 as permitted sender) smtp.mailfrom=ming.lei@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Gm-Message-State: APt69E2F2g1M0kFCMr17qsm0OOuL4RzdToWEhk/5+oVBDmp/QpYRgBpQ G/hRfC561+QmZd0Pj5yjk1uJ877BvAe1yrgPKxPpjLAteL0wT8eVygNX9cHH1kyhrbQ99RrsVxv miF/K4fLOdr7skiaioVEhbuzp/IE+N+WxMzIb2YasqgI8sfYtnMpBOqpOl6QS4FrxUw== X-Received: by 2002:a0c:d957:: with SMTP id t23-v6mr5165231qvj.149.1530103607021; Wed, 27 Jun 2018 05:46:47 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd5Nhtg8xqTJul1hITcNMKR39vJRehO1Qd05C3KCSq+l0gex7irgqaRLyYSxHfgv3OFghde X-Received: by 2002:a0c:d957:: with SMTP id t23-v6mr5165204qvj.149.1530103606459; Wed, 27 Jun 2018 05:46:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530103606; cv=none; d=google.com; s=arc-20160816; b=oT2ZeHdS3Apkb7cLBpYABSwLD2GaWDXQXhLuBrIciTYLxv2XcuLV8beGen/IwNkzKI ZgnszYGiR/tKkd6wCKM0djET+vwM37Gkv7KbrjEgMaiSKG6XPD8tkDlZGPl/vS16oVyH 6/so5f9/0woK9bPmGOmsfYSw1n7vTKXXttCpWz5mtplGJJhGJvoWU+xABMO7vylQ6e5B L5+8Y5ADWwQBIsG8fvG7xbbGnLE1vNS18Ch06Ku+MDnf4VcYUKHFb9+HL23Lq934vZY9 9iKamoXG5SZo2Jj/iYHqlzRndYx63GLEWOPxTpLpDkt1JEnJIYEYlAgnmz0EHWzK6Dru EZug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=17be2U4HhLxEE1J/Rppu7cUxGGNEQmSqg6Tc1iTvU1Y=; b=JoOE/ARLC2xYxPsuV+gw3RM2ykB1XtULZhKAHHKOEQU0QL6lsFTMdZgBCk24//VjN1 7afSAC8MhYNIO19myb/p77GOjEBnkdRzEYSOLDNoWMkMPm3aFk5h6lgS/YVn+kQKjB1Z op3PLWdj+sDBrIMJlOL3PIZk5mSNQ7FEJRM2dFUftcl8oqU0ZfDsif/iDsYUMVSGskbC Ee+t0Zmv/SurBnQSS3459K5V6aKQnQFA+wPjmbzP/k/co6rZuPdRk54S69LscILs8ZAP sl7hIw5dOBxSHiUrC3/Rpz28A5l6cTIHFeNVfOHQReobfUMEfHe3nsbe8LtB7i+OoG8i YrLA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ming.lei@redhat.com designates 66.187.233.73 as permitted sender) smtp.mailfrom=ming.lei@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from mx1.redhat.com (mx3-rdu2.redhat.com. [66.187.233.73]) by mx.google.com with ESMTPS id w1-v6si3823288qvf.185.2018.06.27.05.46.46 for <linux-mm@kvack.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jun 2018 05:46:46 -0700 (PDT) Received-SPF: pass (google.com: domain of ming.lei@redhat.com designates 66.187.233.73 as permitted sender) client-ip=66.187.233.73; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ming.lei@redhat.com designates 66.187.233.73 as permitted sender) smtp.mailfrom=ming.lei@redhat.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 184F277889; Wed, 27 Jun 2018 12:46:46 +0000 (UTC) Received: from localhost (ovpn-12-44.pek2.redhat.com [10.72.12.44]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2EA412026D5B; Wed, 27 Jun 2018 12:46:37 +0000 (UTC) From: Ming Lei <ming.lei@redhat.com> To: Jens Axboe <axboe@fb.com>, Christoph Hellwig <hch@infradead.org>, Kent Overstreet <kent.overstreet@gmail.com> Cc: David Sterba <dsterba@suse.cz>, Huang Ying <ying.huang@intel.com>, Mike Snitzer <snitzer@redhat.com>, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Theodore Ts'o <tytso@mit.edu>, "Darrick J . Wong" <darrick.wong@oracle.com>, Coly Li <colyli@suse.de>, Filipe Manana <fdmanana@gmail.com>, Randy Dunlap <rdunlap@infradead.org>, Christoph Hellwig <hch@lst.de> Subject: [PATCH V7 04/24] block: remove bio_clone_kmalloc Date: Wed, 27 Jun 2018 20:45:28 +0800 Message-Id: <20180627124548.3456-5-ming.lei@redhat.com> In-Reply-To: <20180627124548.3456-1-ming.lei@redhat.com> References: <20180627124548.3456-1-ming.lei@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 27 Jun 2018 12:46:46 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.1]); Wed, 27 Jun 2018 12:46:46 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'ming.lei@redhat.com' RCPT:'' X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/linux/bio.h b/include/linux/bio.h index f08f5fe7bd08..430807f9f44b 100644 --- a/include/linux/bio.h +++ b/include/linux/bio.h @@ -443,12 +443,6 @@ static inline struct bio *bio_kmalloc(gfp_t gfp_mask, unsigned int nr_iovecs) return bio_alloc_bioset(gfp_mask, nr_iovecs, NULL); } -static inline struct bio *bio_clone_kmalloc(struct bio *bio, gfp_t gfp_mask) -{ - return bio_clone_bioset(bio, gfp_mask, NULL); - -} - extern blk_qc_t submit_bio(struct bio *); extern void bio_endio(struct bio *);