From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2ABE42FAE for ; Mon, 19 Jul 2021 17:35:32 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 0EC826113A; Mon, 19 Jul 2021 17:35:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1626716131; bh=ctaebXMBllXiQLQACsNI6rLNkFdU4WNfaBVmh0Lu2H8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lGARtMy7qP392pvtKMaN9slO8tp7u3jU1T7FtRmizgaxllz3pA2eIVTAspsTS3MDL zAzebTFuFR1CNRPPmMnd+oXz5FBMTdrc+7RC2dzYQvdmgOZCyf6uDhTh+gjtXjPaDo STutVxGkpuwfYoN9IaVsM2tLMcKeeISmrwbLp7+q+SItqxbEQoeKZOfzQqajbkudKN yT1CuH5w5PqGPZ6FUs7pgQeFSuz645p8GsjhKF7msocIQUIPqYhJovDU8mIwFDDKTj dVCczixBsbnp0oeUzFT0dT+w84lhxNLH5BuMh5psLoOCW0LhOcbuP4HSRN9sQJRvVV qeGaZW3/NuVPw== Date: Mon, 19 Jul 2021 10:35:30 -0700 From: "Darrick J. Wong" To: Christoph Hellwig Cc: Dan Williams , Matthew Wilcox , Andreas Gruenbacher , Shiyang Ruan , linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org, nvdimm@lists.linux.dev, cluster-devel@redhat.com Subject: Re: [PATCH 05/27] fsdax: mark the iomap argument to dax_iomap_sector as const Message-ID: <20210719173530.GE22357@magnolia> References: <20210719103520.495450-1-hch@lst.de> <20210719103520.495450-6-hch@lst.de> Precedence: bulk X-Mailing-List: nvdimm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210719103520.495450-6-hch@lst.de> On Mon, Jul 19, 2021 at 12:34:58PM +0200, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig LGTM Reviewed-by: Darrick J. Wong --D > --- > fs/dax.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/dax.c b/fs/dax.c > index da41f9363568e0..4d63040fd71f56 100644 > --- a/fs/dax.c > +++ b/fs/dax.c > @@ -1005,7 +1005,7 @@ int dax_writeback_mapping_range(struct address_space *mapping, > } > EXPORT_SYMBOL_GPL(dax_writeback_mapping_range); > > -static sector_t dax_iomap_sector(struct iomap *iomap, loff_t pos) > +static sector_t dax_iomap_sector(const struct iomap *iomap, loff_t pos) > { > return (iomap->addr + (pos & PAGE_MASK) - iomap->offset) >> 9; > } > -- > 2.30.2 >