Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1873139rwd; Fri, 9 Jun 2023 03:33:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6D9lD9oL5UiuVJpwXPgvE1Mausf6UKEFPSdXRRpW2VQmzzj82f9/tiSx5Ns0CXMbCx/qPK X-Received: by 2002:a05:6a00:2da3:b0:652:a559:b2c5 with SMTP id fb35-20020a056a002da300b00652a559b2c5mr1672867pfb.13.1686306826124; Fri, 09 Jun 2023 03:33:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686306826; cv=none; d=google.com; s=arc-20160816; b=gTfOuCy18SF50xqIy+NlSrChg3SOY5XYCsDt8j8GTpMiKg0q3W3PVGvJKIPO2dfsoG fs3NjOgsu3VFhB6oqWFCo3X/sdI+Bih/2XFDHnMQJfHduPR2faRToSc6c26ab2FbZDCw 8U8hmRPu51LImqnoAdkj14iqM5tYkJXIxm2VBZX3SolQnaGXB9XKUpjXrsofkuCLQBp9 Wj11Sr5xlY7l67TjpkdF2nWA9jSqSmedVM4K80DNr4/i5cxnADfE9wPaWY0mQILJ3mbZ nFhsK/xt+WFBJEN2FFj9+aOCNpKc01Q7fhkwzcHtYFcrSzot/kW3sIj6c9waC8kARXel 4Eow== 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=5xS0EjvCiKchfkvdTJdOtsTA5MUfwNb38QZYdhFXqpc=; b=sN/eyt19xJg0H1jRwfm7RJCYVzxL5xpppgH8IuWRh4ebEBWXo0tVcc1pPKVj+cWlQp zE+uHHeVSU9c9wsBEnFNJCO5rvkn6kcLXnHEQGLHHrwL8KWSaxUTE6qiSaQRcMhLz6ft 44FuhELdC+KEXIUpdulUiXnQsN82juPKwrOphulscROJ0kcT6GkIWoVeCtHsuMBtQFkH hZ0/oo2AOprs3/whS/1Ri3nvzU+nUTtTkvvJ6UieKQfkHQNLC/Z9MUGzSDw+mdOzNgar sUe1cCY56oLGwFWEr/uVYh8RJ6Hr/L6ooNOGrntvP1cRJ4T0kEafRtACh+/YEJ5fY1H1 QJ8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Wa+K6me2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k16-20020a628410000000b006438e35303csi2284129pfd.260.2023.06.09.03.33.32; Fri, 09 Jun 2023 03:33:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Wa+K6me2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239127AbjFIKO3 (ORCPT + 99 others); Fri, 9 Jun 2023 06:14:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238915AbjFIKNp (ORCPT ); Fri, 9 Jun 2023 06:13:45 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95C133C3B for ; Fri, 9 Jun 2023 03:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686304949; 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=Wa+K6me2dO1sFH1Ac9mQ2pfEykcZqxacomhU38CAcULOK5TqaDbAFQ/g1U86PQ4lCjBju3 bYNdz75CBrv+8TC0/vaOQo7lrcPiWWIqTwfxAHq5ds8TahMouzFko4ko3dPcWCtrjUHz86 fns7al3YbqS66ro3dWmHtoOuwnI4LMs= 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 To: netdev@vger.kernel.org Cc: David Howells , Jakub Kicinski , "David S. Miller" , Eric Dumazet , Paolo Abeni , Willem de Bruijn , David Ahern , Matthew Wilcox , Jens Axboe , 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove file->f_op->sendpage as splicing to a socket now calls sendmsg rather than sendpage. Signed-off-by: David Howells cc: "David S. Miller" cc: Eric Dumazet cc: Jakub Kicinski cc: Paolo Abeni cc: Jens Axboe cc: Matthew Wilcox cc: netdev@vger.kernel.org --- include/linux/fs.h | 1 - 1 file changed, 1 deletion(-) 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 *);