Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5270938rwl; Sun, 8 Jan 2023 11:46:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXvOmcjsdcfU6RH1oE1khDOvPmQqQww8dCQJUfCLLdDgebXrVkF2RLuKuNFqGsIoiP9DXA0q X-Received: by 2002:a17:907:8dcb:b0:840:c37d:b5e4 with SMTP id tg11-20020a1709078dcb00b00840c37db5e4mr75596323ejc.16.1673207204857; Sun, 08 Jan 2023 11:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673207204; cv=none; d=google.com; s=arc-20160816; b=Y6NozLTz7+0Hjqz18l4kxtwQzp4fQVczSFylkwgo0j2TLmdEaqNgR8WXYVaCRd4U8z fDCbgK97XYkmC/T3y/9mRbA6LRjkGBdGmU4225gRt7SlHnnYGJcgafTgR0fJqDMJiy8t dzTdLWCOlsRhPxLxVvXhHi/oyaAPWuJYWgya1v0kBDfeVEABe5i6rDWnaSPLyuN0fOAs LYjcSH0kyN6LC/PDmLMe13wltCIrd4VP+khVgIDLBN7MUdw9VHumb5F7Kbt/XCtX/SqQ y6fKlE2IkZWm/Yp6+lhItcbZE1FBeLqUas6AT6EXvbDmviuYdeR7MdYDBhHZHp9smJqN LV8w== 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=etihVgEujYPV+f8M4/yswZkf9PpNIYIsjW55E0N5BYY=; b=AOnDuKR5t87AFmfVqXvNv6J/2wh+f50/c4bLXQl82DFavSZIueUizvxuUrmqKa/utQ pMHXPI2/sMPLjtvpWDXOTrjHNbC+S7fMrTZHcj81NMk8wpnHt4b+BarJqDijVMN6d0H+ UlZMcHizoTEySTEUnAsKsiEPwibpFGAX92yIU5UGcnTSR9EteoyAgGZwxCoqNjV/qh3u PJ93MqgoDyFXaWE6XhLRW3BbCrHZ60cMLZ5yjhRY40wy/DOSD9mN23RaJg1J3AB1Oela LvoI7h9DyvSm6XcEsk998QrLo3pnLMIAwonbUA+K/+1M9C+3S9b2CL5BQuOfVvmKSyL9 r96g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="J/tTjbUY"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 nb6-20020a1709071c8600b0084d13b96260si8311304ejc.29.2023.01.08.11.46.20; Sun, 08 Jan 2023 11:46:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-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="J/tTjbUY"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 S234231AbjAHTnm (ORCPT + 99 others); Sun, 8 Jan 2023 14:43:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234558AbjAHTnI (ORCPT ); Sun, 8 Jan 2023 14:43:08 -0500 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 130F1DFC8 for ; Sun, 8 Jan 2023 11:41:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673206872; 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=etihVgEujYPV+f8M4/yswZkf9PpNIYIsjW55E0N5BYY=; b=J/tTjbUYWVzC6doIWgBtqZbovOp4iP3GkC6op+jsjVnmnbRuQ1jpHFAHREvl2Fsec4nlVL IvAMG6FloLASrCPEn96wY5RtLt4smovQjjxm7v4AQfSO9/tpoC8l/pbs30UL7LARUaXMQD vISIwpS3YaMYFXt9getTf6rNzjCCTBE= 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-303-FqGLkigaP1CpJfFD5msjSg-1; Sun, 08 Jan 2023 14:41:07 -0500 X-MC-Unique: FqGLkigaP1CpJfFD5msjSg-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 4942780234E; Sun, 8 Jan 2023 19:41:07 +0000 (UTC) Received: from pasta.redhat.com (ovpn-192-3.brq.redhat.com [10.40.192.3]) by smtp.corp.redhat.com (Postfix) with ESMTP id C5BEC492B06; Sun, 8 Jan 2023 19:41:04 +0000 (UTC) From: Andreas Gruenbacher To: Christoph Hellwig , "Darrick J . Wong" , Alexander Viro , Matthew Wilcox Cc: Andreas Gruenbacher , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, cluster-devel@redhat.com, Christoph Hellwig Subject: [RFC v6 10/10] xfs: Make xfs_iomap_folio_ops static Date: Sun, 8 Jan 2023 20:40:34 +0100 Message-Id: <20230108194034.1444764-11-agruenba@redhat.com> In-Reply-To: <20230108194034.1444764-1-agruenba@redhat.com> References: <20230108194034.1444764-1-agruenba@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_H2,SPF_HELO_NONE,SPF_NONE 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-ext4@vger.kernel.org Variable xfs_iomap_folio_ops isn't used outside xfs_iomap.c, so it should be static. Signed-off-by: Andreas Gruenbacher Reviewed-by: Christoph Hellwig --- fs/xfs/xfs_iomap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_iomap.c b/fs/xfs/xfs_iomap.c index 5bddf31e21eb..7d1795a9c742 100644 --- a/fs/xfs/xfs_iomap.c +++ b/fs/xfs/xfs_iomap.c @@ -98,7 +98,7 @@ xfs_get_folio( return folio; } -const struct iomap_folio_ops xfs_iomap_folio_ops = { +static const struct iomap_folio_ops xfs_iomap_folio_ops = { .get_folio = xfs_get_folio, }; -- 2.38.1