From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darrick J. Wong Date: Mon, 19 Jul 2021 10:35:30 -0700 Subject: [Cluster-devel] [PATCH 05/27] fsdax: mark the iomap argument to dax_iomap_sector as const In-Reply-To: <20210719103520.495450-6-hch@lst.de> References: <20210719103520.495450-1-hch@lst.de> <20210719103520.495450-6-hch@lst.de> Message-ID: <20210719173530.GE22357@magnolia> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 >