From: Christoph Hellwig Date: Mon, 26 Jul 2021 10:12:17 +0200 Subject: [Cluster-devel] [PATCH 03/27] iomap: mark the iomap argument to iomap_sector const In-Reply-To: <20210719160820.GE22402@magnolia> References: <20210719103520.495450-1-hch@lst.de> <20210719103520.495450-4-hch@lst.de> <20210719160820.GE22402@magnolia> Message-ID: <20210726081217.GA14853@lst.de> 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 09:08:20AM -0700, Darrick J. Wong wrote: > IMHO, constifiying functions is a good way to signal to /programmers/ > that they're not intended to touch the arguments, so Yes, that is the point here. Basically the iomap and iter should be pretty much const, and we almost get there except for the odd size changed flag for gfs2.