Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22490297rwd; Fri, 30 Jun 2023 08:37:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlFFZf1xAwUXl85rF9DppX0RsoC1tockc+sAm6f12sjwcSdkXZFd4zWMTGNSwi7gNfDvysBY X-Received: by 2002:a17:903:1c9:b0:1b8:76cb:3e50 with SMTP id e9-20020a17090301c900b001b876cb3e50mr826977plh.47.1688139420296; Fri, 30 Jun 2023 08:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688139420; cv=none; d=google.com; s=arc-20160816; b=aznFEGGXEGqzXy4ZDum9JMCiOLADZ/DXV346lT9WJokyfqEPu6oqU2X9bcT5OVnhC/ NHMDFKRvQewnv0vP99614vmS9z0zeG+SUX/nEFVAXP/i+AqLyi0BKVwxL3Z1WWOTzb4V Vmr5VEtivwaEDfgaaW6MjCXo4S/tMrVHe4BP8H9cOibeGrDPTGdk0Hhll9m6AfuzpRY8 Kjbce8r2MNfcJAI+qAwZ4o6C8zdHc/ZAvhAy+eMtWIFz6vdhA2wmoLOnoB96CFCMa28H jpxOuMjec6Yx09Pku1G/XZqE+wjmlUWdSagm2LMdptHYN3yWItDHfAoMauKQOBfkC/B1 1KzQ== 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=sac/z7qt8qX/jw2GCw1Fghx39S+xMjFejmZ6Kx/zzF8=; fh=4ROzQQtEOGMFNi5Sfm8GuJqeToL7jGEX4CuQN74uEsc=; b=v72hfaIWVA7vgm9E+Q+HlFKdPmz8qJP+MUs269MCa4IEVfGvnvhiJngMCD7AsJsU9F FUm6Ayd8ssSDnYodyHUUw+/AOYYIEF7UuZMTu2eovwhnjCF45BigqUrG0dME+nY+hryF 64LaKE6rsRroeZ6SZ4R3Me9rnqJlzTXSKF6x3FW9y+bfLPy0nfrD45BWyp4CVY7SLnFl hm6eGmaPIfkn7Yv+3sT6l3jSxpKRs9GcFpW6CRA9LJj1SQypzCB5IsoCTXqyoYtiSvpV gvkwFHi4ZtN8lAl9kEy55FPoi9yNVVImYrYPT2+vrv/bKcAcOafxX7DOjkFrAZFleb2A fJGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WXYa9BIC; 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 u16-20020a170903125000b001b3415a07dcsi13567164plh.91.2023.06.30.08.36.44; Fri, 30 Jun 2023 08:37:00 -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=WXYa9BIC; 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 S232949AbjF3PTb (ORCPT + 99 others); Fri, 30 Jun 2023 11:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232301AbjF3PS7 (ORCPT ); Fri, 30 Jun 2023 11:18:59 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64C77449A for ; Fri, 30 Jun 2023 08:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688138222; 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=sac/z7qt8qX/jw2GCw1Fghx39S+xMjFejmZ6Kx/zzF8=; b=WXYa9BICVC4VN1v7qn1YYtvj+0JB+5vojZ65vqCq4NoGZVZMm+RaClZRSv117VoFK3M0kj icjCZ12mItUJs8/MXHFW5vXsU8SyMnsMIET9C+QsC4xVUJN7uWYdL2mt2A5Cp9KbbXEeK8 gdanyf9DmS4DKfx7zbK1VHuppjFBzXE= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-549-wd4BOK4CNAGGF3o5uSBHdw-1; Fri, 30 Jun 2023 11:16:57 -0400 X-MC-Unique: wd4BOK4CNAGGF3o5uSBHdw-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D66FB2812949; Fri, 30 Jun 2023 15:16:56 +0000 (UTC) Received: from warthog.procyon.org.uk.com (unknown [10.39.192.26]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3B1CB492B02; Fri, 30 Jun 2023 15:16:53 +0000 (UTC) From: David Howells To: Jens Axboe , Al Viro , Christoph Hellwig Cc: David Howells , Matthew Wilcox , Jan Kara , Jeff Layton , David Hildenbrand , Jason Gunthorpe , Logan Gunthorpe , Hillf Danton , Christian Brauner , linux-fsdevel@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, Christoph Hellwig , Christian Brauner Subject: [RFC PATCH 01/11] iov_iter: Fix comment refs to iov_iter_get_pages/pages_alloc() Date: Fri, 30 Jun 2023 16:16:18 +0100 Message-ID: <20230630151628.660343-2-dhowells@redhat.com> In-Reply-To: <20230630151628.660343-1-dhowells@redhat.com> References: <20230630151628.660343-1-dhowells@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 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_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Fix references to iov_iter_get_pages/pages_alloc() in comments to refer to the *2 interfaces instead. Signed-off-by: David Howells cc: Christoph Hellwig cc: Jens Axboe cc: Christian Brauner cc: Alexander Viro cc: linux-block@vger.kernel.org cc: linux-fsdevel@vger.kernel.org --- fs/ceph/file.c | 4 ++-- include/linux/mm_types.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ceph/file.c b/fs/ceph/file.c index b1925232dc08..3bb27b9ce751 100644 --- a/fs/ceph/file.c +++ b/fs/ceph/file.c @@ -75,7 +75,7 @@ static __le32 ceph_flags_sys2wire(u32 flags) */ /* - * How many pages to get in one call to iov_iter_get_pages(). This + * How many pages to get in one call to iov_iter_get_pages2(). This * determines the size of the on-stack array used as a buffer. */ #define ITER_GET_BVECS_PAGES 64 @@ -115,7 +115,7 @@ static ssize_t __iter_get_bvecs(struct iov_iter *iter, size_t maxsize, } /* - * iov_iter_get_pages() only considers one iov_iter segment, no matter + * iov_iter_get_pages2() only considers one iov_iter segment, no matter * what maxsize or maxpages are given. For ITER_BVEC that is a single * page. * diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h index de10fc797c8e..f49029c943b0 100644 --- a/include/linux/mm_types.h +++ b/include/linux/mm_types.h @@ -1249,7 +1249,7 @@ enum { /* * FOLL_LONGTERM indicates that the page will be held for an indefinite * time period _often_ under userspace control. This is in contrast to - * iov_iter_get_pages(), whose usages are transient. + * iov_iter_get_pages2(), whose usages are transient. */ FOLL_LONGTERM = 1 << 8, /* split huge pmd before returning */