Message ID | 20230609100221.2620633-2-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 58C95C7EE37 for <linux-mm@archiver.kernel.org>; Fri, 9 Jun 2023 10:02:38 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id DFC168E0005; Fri, 9 Jun 2023 06:02:37 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DE22E8E0006; Fri, 9 Jun 2023 06:02:37 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C2A708E0005; Fri, 9 Jun 2023 06:02:37 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0016.hostedemail.com [216.40.44.16]) by kanga.kvack.org (Postfix) with ESMTP id B54C78E0001 for <linux-mm@kvack.org>; Fri, 9 Jun 2023 06:02:37 -0400 (EDT) Received: from smtpin20.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay09.hostedemail.com (Postfix) with ESMTP id 824FF801BB for <linux-mm@kvack.org>; Fri, 9 Jun 2023 10:02:37 +0000 (UTC) X-FDA: 80882769954.20.5B69EE7 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf10.hostedemail.com (Postfix) with ESMTP id 6593CC002F for <linux-mm@kvack.org>; Fri, 9 Jun 2023 10:02:34 +0000 (UTC) Authentication-Results: imf10.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=D8iRJxSp; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf10.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1686304954; 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=5xS0EjvCiKchfkvdTJdOtsTA5MUfwNb38QZYdhFXqpc=; b=2H+QGsLlU8cAp8UUGbV4JNQYwiEG9r0OtUe4mZw93WjQ9uIK/yEPfEgtB/C+ZlWa4zpQ/O 5FQpIdjXfYSa2ozaHzL+zI9fWZG80O2gcszW1mQTFZmHXMI85S5GjW6sqDt6I7WwK5VAO+ cjGUSKE9gUb4kAQx3W5jyKzTblZz9YQ= ARC-Authentication-Results: i=1; imf10.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=D8iRJxSp; dmarc=pass (policy=none) header.from=redhat.com; spf=pass (imf10.hostedemail.com: domain of dhowells@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=dhowells@redhat.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1686304954; a=rsa-sha256; cv=none; b=qBhxESflwk2DvhUKMvb00iI+FQKly+o/12rqQ7KZfck1tz9h5rvmGOlgJ2QSLvbScwP9ED B1y/VpXIwbS629YUcr620DWT9ABSA5VAmy6CUjaeik3UUyg9gniegykEUYD5XlkvP8s8L/ TW3pgDGm+FIIFbZYNq0U7DOlqGtobBo= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686304953; 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=5xS0EjvCiKchfkvdTJdOtsTA5MUfwNb38QZYdhFXqpc=; b=D8iRJxSpvhRT4yBqCJ2rMYxWIdBG1e8/f4wK5Z6eaWa211jIn3i5i1DvsAAHogkY3FDdUR z+ZlKJqRXE8etGzCmlQeHTDOpCNiLIekybo55jJWfycYiU9VFmw6BmO1hhFlCWdtWlRytG 0TJ6IVFkk9w1VR5FuViQNltaLKAouhk= 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-516-FqgRmzDbNx-frSMXVDLQFw-1; Fri, 09 Jun 2023 06:02:28 -0400 X-MC-Unique: FqgRmzDbNx-frSMXVDLQFw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 542BA101A53B; Fri, 9 Jun 2023 10:02:27 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.51]) by smtp.corp.redhat.com (Postfix) with ESMTP id D69FF10C13; Fri, 9 Jun 2023 10:02:25 +0000 (UTC) From: David Howells <dhowells@redhat.com> To: netdev@vger.kernel.org Cc: David Howells <dhowells@redhat.com>, Jakub Kicinski <kuba@kernel.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Paolo Abeni <pabeni@redhat.com>, Willem de Bruijn <willemdebruijn.kernel@gmail.com>, David Ahern <dsahern@kernel.org>, Matthew Wilcox <willy@infradead.org>, Jens Axboe <axboe@kernel.dk>, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next 1/6] Remove file->f_op->sendpage Date: Fri, 9 Jun 2023 11:02:16 +0100 Message-ID: <20230609100221.2620633-2-dhowells@redhat.com> In-Reply-To: <20230609100221.2620633-1-dhowells@redhat.com> References: <20230609100221.2620633-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Rspam-User: X-Stat-Signature: u6i1gjsb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SuvjmBoIfONV2e7zGNUi1E+GjvUVL2H7Y3/rt07+k9UYCxPtDbzFOWTVJV1Zte5t72U2xh7FMadHZQPEFk1x51tsz7Gy6SSIvAFo7b/VbQlynoSfBuc8fAUlYX+lPpXotqcN1G07e0LyZu9nu9zgfUF/JLScYh9oA3Y2uKn6XwmZqWVzIUOl83pXG5skLwnmTBHKcos/R5qqc+PJ491T8sjN3uMqdsuO1tg/xj8Nx5So6Nu55X3PHYzSR6s93VJzeRBEdiJDfpFYDWzp8KLhUUQiu6Tgj2bxAo17Ae42fYCK2/PDZuATa8TAmHG3fI6imbbdwAzNqy6T7W5+ZOpEEfakNQDe+y5IupzfhqLKIwpri2wKOJOOLibQMQgG2NLxVMxVUBWh3anI6X5bxNl6bYJoFgpOm3yIGyXIBTHYM5mmDDvZoDOrmOheMEVODw5PsgWbQppvW3Cq25CzdiUOyeJmG/461soPscgUy2PJzV7XLG+P/W8eg+mg== 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: Some miscellaneous MSG_SPLICE_PAGES changes
|
expand
|
diff --git a/include/linux/fs.h b/include/linux/fs.h index de2cb1132f07..67998c64556d 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1790,7 +1790,6 @@ struct file_operations { int (*fsync) (struct file *, loff_t, loff_t, int datasync); int (*fasync) (int, struct file *, int); int (*lock) (struct file *, int, struct file_lock *); - ssize_t (*sendpage) (struct file *, struct page *, int, size_t, loff_t *, int); unsigned long (*get_unmapped_area)(struct file *, unsigned long, unsigned long, unsigned long, unsigned long); int (*check_flags)(int); int (*flock) (struct file *, int, struct file_lock *);
Remove file->f_op->sendpage as splicing to a socket now calls sendmsg rather than sendpage. Signed-off-by: David Howells <dhowells@redhat.com> cc: "David S. Miller" <davem@davemloft.net> cc: Eric Dumazet <edumazet@google.com> cc: Jakub Kicinski <kuba@kernel.org> cc: Paolo Abeni <pabeni@redhat.com> cc: Jens Axboe <axboe@kernel.dk> cc: Matthew Wilcox <willy@infradead.org> cc: netdev@vger.kernel.org --- include/linux/fs.h | 1 - 1 file changed, 1 deletion(-)