Message ID | 20230329141354.516864-3-dhowells@redhat.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15946C6FD18 for <linux-mm@archiver.kernel.org>; Wed, 29 Mar 2023 14:14:12 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 720136B0075; Wed, 29 Mar 2023 10:14:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 681806B0078; Wed, 29 Mar 2023 10:14:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 4D59B6B007B; Wed, 29 Mar 2023 10:14:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 3F98F6B0075 for <linux-mm@kvack.org>; Wed, 29 Mar 2023 10:14:11 -0400 (EDT) Received: from smtpin18.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay04.hostedemail.com (Postfix) with ESMTP id E86D61A065A for <linux-mm@kvack.org>; Wed, 29 Mar 2023 14:14:10 +0000 (UTC) X-FDA: 80622130260.18.5D720C0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf13.hostedemail.com (Postfix) with ESMTP id B25592001B for <linux-mm@kvack.org>; Wed, 29 Mar 2023 14:14:07 +0000 (UTC) Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=TniwxOA8; spf=pass (imf13.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1680099247; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=s7FY6IkB7NRnaaunO8kQ3wM8dgoy+C5dVBJnz6ApgXk=; b=e0qW0C5JZJiZf2qK/JetFZ9d7tyTKqQdUmoLpC2Y80BgETqYlszs7SaZiiDleWqMHZ1Ic/ rDxvTFPbuvrr3BqxWekRdO1pai65WxzsPlbXUzHdVc4Qnxjx1RKEJ7oFvY3ifFGgGY7xQ/ eL8f7y7lcVrunHDD+3VaBLchImMSqJo= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=TniwxOA8; spf=pass (imf13.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1680099247; a=rsa-sha256; cv=none; b=Nt0XeRjZ4v+ZCMccJJUl94R/U88kocN/ZZbcn0p8jLlbC4FnIcZhN1umQr5iF+W/+smdUx qVDdVjlhQTLrXSi0PWZC8/4letLlh7i3XkvXrZrMAkm3UVMwvnujAHn/t356U01JTLv/KM GT/558+MQ2XRV98t3ejTuOviazejODI= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680099247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=s7FY6IkB7NRnaaunO8kQ3wM8dgoy+C5dVBJnz6ApgXk=; b=TniwxOA85WrnSeGbVOc8y0ccQJApSTOUZM6dP7tai2wOQTyzIZfJLCU443ZBvGzmq4TccO 3jP+z/m0vrK+TMIuQc610snRh4YYzeE41STRzbhJ6P7d86pCN9EwsAgwpUZ13mhIgo/J5j jEeuf/PswlY1cEMTRzh4vK4Wj5sAC3A= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-440-h-W_J7FgPEG0aunda_tCKQ-1; Wed, 29 Mar 2023 10:14:05 -0400 X-MC-Unique: h-W_J7FgPEG0aunda_tCKQ-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AF299855315; Wed, 29 Mar 2023 14:14:04 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.18]) by smtp.corp.redhat.com (Postfix) with ESMTP id B6A6F492B01; Wed, 29 Mar 2023 14:14:02 +0000 (UTC) From: David Howells <dhowells@redhat.com> To: Matthew Wilcox <willy@infradead.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com> Cc: David Howells <dhowells@redhat.com>, Al Viro <viro@zeniv.linux.org.uk>, Christoph Hellwig <hch@infradead.org>, Jens Axboe <axboe@kernel.dk>, Jeff Layton <jlayton@kernel.org>, Christian Brauner <brauner@kernel.org>, Chuck Lever III <chuck.lever@oracle.com>, Linus Torvalds <torvalds@linux-foundation.org>, netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-nfs@vger.kernel.org Subject: [RFC PATCH v2 02/48] iov_iter: Remove last_offset member Date: Wed, 29 Mar 2023 15:13:08 +0100 Message-Id: <20230329141354.516864-3-dhowells@redhat.com> In-Reply-To: <20230329141354.516864-1-dhowells@redhat.com> References: <20230329141354.516864-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Rspam-User: X-Rspamd-Server: rspam03 X-Stat-Signature: 4g1hrfzdxfh8hgq5iq9b9mtn7fyrd46f X-Rspamd-Queue-Id: B25592001B X-HE-Tag: 1680099247-492435 X-HE-Meta: U2FsdGVkX19+d3wpYdpYA5UcUIDsap2iqUYQhzaPNBJEA+WAczkMOk4hgY11ZxqJgp3M+ZJOCU4ilbeidiER+sN+uSaF/JqMzE8p1AHacGgxvqL04clB3TqVrZgpDzqgangHshXFJ9nhriX5ZxNBHpOZoJvWLT3B/d4SlVSkK5ImwPMcRJtbZfE/e/Y2AXdNWD/gaRcGgg5WxvNTKm42XWUdET1QTiw5gGSBVLF5WM2xo7xOMD+FaHL8aMyBk3VPEi7EoU09u9zkfFf6vgReGDCQ8NJW2E4IqbtseeBoSYWhmraheFGinlIcujODaDQvFRGMAaHoGDXaxh5jAOqk1v0g6fDFpQrJdZ9nqR1h1eBzdplYeP9ypnd04cj40ApXuwgidj4y/m8I0ub6ajnt7WzPK/diKi3MaSlqIhtYDl2ZO6kXZMIw5u0oprX7YZB+1zoft4FH58QSTIp5VE/F/lg4IelgvZnFrxmxD3Ya4JXWZxuYfR8W3TaIoC3SFmvkt0plWcpWrGhodhZ/OvAR7j8Y/73awZUYwV2tFP9rEu0nlu/EvuQ4HAqDkk8zuz+okFormkPSc2iNiCkyXQijLBFTS1DSQ9tn43esPWxgkLxWFKhHSUXRF5QCxeuLz5UQXGx8gpHdu2SyGerVx/CESjRNQNGEnmxYp/8RZsH1AD7SL+oYVck1tEss+AgiRVrqU2wTDgA47KhQ9vt1Is9r6IhKMwUsI4HLrUrwlGhvDMydtBsFcV95g481iXXYBkweRNoQy5LF201Y0/opKFQ1X89pCDMtLxnaeEKgKH/f+Pu32TWrqEWsa6kLq19nMnRM29aaWqroPLvFnEjJePVXk2qX67XNUCH5ETniI6M+TCkTXnstrX3gBS3tJh94RZk6HQinhN7sO4fZCIL+rhY0u36De+sa3UgZ/Nih766Tsl7bGuZAGCuJMHxNDqmWNDG7wPWOIo4WXfxeLK9l6uY DR1pbSwq Ijc2328kqXLw00ehfRFIR3RzvDBvgO1MZGvDDDvpkitUPDZyqwuYJkcOBCeOgZDGf01kdYU7W3PqCWq0SEXzcuAvS0P4PiFpDR36NidzRyjWyVCTglb+VzR/N1Fc+rVqGy6sy9FjggB4A/4sd4/n/W94ItrMDD6UFnaNrgGSzic/uz54fHUHlwO0yMMOBLmMdOA1NnEpXF7dkbJ1OvMxGS4iyFh8/lB5kID81CpnHPdh80bvqmpacHT57jewc2b/JpatQuw2frk/uTdhWAXpqbzLdMK7ZgNNDlcP3Ftg+l1aE6+0fx9+xtv60X/7o3ppvv8AkjMPxYIyoBc3/itypg8N5GugqL7TpbKO2df3wnthK4bTgQ/WpGTy9pdoO660F8VuJsVfVe/hDtbyLka9RGOuWJUuGnvSxN2CUcFPGtU7kGAZFMk5rc3nrP3M+GnNZmgfi1m4EFF6hhd5EMrg4cElJ13GOH6UnHVX0 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> |
Series |
splice, net: Replace sendpage with sendmsg(MSG_SPLICE_PAGES)
|
expand
|
diff --git a/include/linux/uio.h b/include/linux/uio.h index 74598426edb4..2d8a70cb9b26 100644 --- a/include/linux/uio.h +++ b/include/linux/uio.h @@ -43,10 +43,7 @@ struct iov_iter { bool nofault; bool data_source; bool user_backed; - union { - size_t iov_offset; - int last_offset; - }; + size_t iov_offset; size_t count; union { const struct iovec *iov;
With the removal of ITER_PIPE, the last_offset member of struct iov_iter is no longer used, so remove it and un-unionise the remaining member. Signed-off-by: David Howells <dhowells@redhat.com> cc: Jens Axboe <axboe@kernel.dk> cc: Matthew Wilcox <willy@infradead.org> cc: Alexander Viro <viro@zeniv.linux.org.uk> cc: Jeff Layton <jlayton@kernel.org> cc: linux-nfs@vger.kernel.org cc: linux-fsdevel@vger.kernel.org cc: linux-mm@kvack.org cc: netdev@vger.kernel.org --- include/linux/uio.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)