[PATCH v7 1/9] fs: Constify vma argument to vma_is_dax

Matthew Wilcox willy at infradead.org
Thu Mar 26 02:49:46 UTC 2020


On Tue, Mar 24, 2020 at 09:11:15PM +0100, Thomas Hellström (VMware) wrote:
> From: "Thomas Hellstrom (VMware)" <thomas_os at shipmail.org>
> 
> The function is used by upcoming vma_is_special_huge() with which we want
> to use a const vma argument. Since for vma_is_dax() the vma argument is
> only dereferenced for reading, constify it.
> 
> Cc: Andrew Morton <akpm at linux-foundation.org>
> Cc: Michal Hocko <mhocko at suse.com>
> Cc: "Matthew Wilcox (Oracle)" <willy at infradead.org>
> Cc: "Kirill A. Shutemov" <kirill.shutemov at linux.intel.com>
> Cc: Ralph Campbell <rcampbell at nvidia.com>
> Cc: "Jérôme Glisse" <jglisse at redhat.com>
> Cc: "Christian König" <christian.koenig at amd.com>
> Cc: Dan Williams <dan.j.williams at intel.com>
> Signed-off-by: Thomas Hellstrom (VMware) <thomas_os at shipmail.org>
> Reviewed-by: Roland Scheidegger <sroland at vmware.com>
> Acked-by: Christian König <christian.koenig at amd.com>

Acked-by: Matthew Wilcox (Oracle) <willy at infradead.org>


More information about the dri-devel mailing list