Re: [RFCv1 1/6] mm: Make get_vma_name() function public
From: Matthew Wilcox
Date: Mon Nov 18 2024 - 15:45:11 EST
On Mon, Nov 18, 2024 at 03:40:57PM -0500, Pasha Tatashin wrote:
> > You're putting something in an mm/ C-file and the header in fs.h? Eh?
>
> This is done so we do not have to include struct path into vma.h. fs.h
> already has some vma functions like: vma_is_dax() and vma_is_fsdax().
Yes, but DAX is a monumental layering violation, not something to be
emulated.