Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp22478906rwd; Fri, 30 Jun 2023 08:29:28 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5xr816feg2L6GR+igf+VcG+unL2izLAqeeYVXHQUS83pQDnbDvTEMDFLD3RlFTqwI4O44y X-Received: by 2002:a05:6a20:7f8d:b0:112:1e0d:14ae with SMTP id d13-20020a056a207f8d00b001121e0d14aemr3819043pzj.7.1688138968184; Fri, 30 Jun 2023 08:29:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688138968; cv=none; d=google.com; s=arc-20160816; b=pgrICE/YNC9CcYRyujVB+ANUMGnEtpgyR6ein9Sc6vYaUCT0RHxgj+hvHgeSD/OACF UIeYkgVFvLP9ZJWzeN21LTaRmBolp3kWaq+1NSZxxOTZMbTxKBRIstpz7ajE+sZ6KsSh 2sUSUgl6PYEZnjGaINvlTeW9LfwfyLWlNw2MpQCPaweGw2UsYQ4+iGdCQkt0ZistJw/6 KWQjPuUe82QloAvvf1g2D2afNvKZ6ZcbRN/CLM2ce3Pa86WuXzg6b4uqGF3bizHNXfgH qMIgm3ZyFKzuB3y4kQYquKyKvvvLc4qk3l/1UBizc3Ol26hkgpHbcupWADOvYRkC76sY pVkA== 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=tZLJ5s8aJiIoS6Ao/RrYFDisuHvkgqtdU5eBgvdX8BskWRsd5vIRcsVllNnXfWXzbC meEDZSXs7QreMGmBbh4jhrKtqb05yuk+YzxdrYa7fq1tii4KaQgczgVR8Po1Cp9tGRjt 7y4weNJEJl0hfNVEqFTBD4wI28TT/AEerXcHDXuoSxA74nt0eMANvYUlKGfIOcuevAFG NJVmMHGwz07yAXH1J7BogwZGamvpHNFq+YPulMhdWU2akWfbDpCKs940xzNZmH8UNO0U Y85WsGqY13pcRXtTxZMLWQYTzZIQUJVAJ5KPBdIKJwr/JIkfIoKw/aBuraowiKdXknIY 08Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=O+a2Rsvs; 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 c15-20020a63ea0f000000b00553b512757fsi12731552pgi.169.2023.06.30.08.29.16; Fri, 30 Jun 2023 08:29:28 -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=O+a2Rsvs; 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 S232802AbjF3P0b (ORCPT + 99 others); Fri, 30 Jun 2023 11:26:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232712AbjF3P00 (ORCPT ); Fri, 30 Jun 2023 11:26:26 -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 DB9872D69 for ; Fri, 30 Jun 2023 08:25:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1688138736; 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=O+a2RsvsMFDuJurZzF/1/8p/+8qIZikN9H92ttfHC3i92x694Hy51dYpM2QzfwAGFJw9bn YTIfTVDdgXhR6jB+kbp/uI4YVQF54OtL4c+qiQ0w/7SeTAWRlNvEhbn/I9XnUORk8lHwGa 1A+nwnVhYi8kjgIyVf/SgMcQggaqHEk= 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-352-CdKJCRj1OimaFZheAWzHmw-1; Fri, 30 Jun 2023 11:25:32 -0400 X-MC-Unique: CdKJCRj1OimaFZheAWzHmw-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 782421C07545; Fri, 30 Jun 2023 15:25:31 +0000 (UTC) Received: from warthog.procyon.org.uk.com (unknown [10.42.28.195]) by smtp.corp.redhat.com (Postfix) with ESMTP id 33F2A492B02; Fri, 30 Jun 2023 15:25:29 +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:25:14 +0100 Message-ID: <20230630152524.661208-2-dhowells@redhat.com> In-Reply-To: <20230630152524.661208-1-dhowells@redhat.com> References: <20230630152524.661208-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 */