On Wed, Oct 21, 2020 at 1:57 AM Daniel Vetter <[email protected]> wrote: > > When we care about pagecache maintenance, we need to make sure that > both f_mapping and i_mapping point at the right mapping. > > But for iomem mappings we only care about the virtual/pte side of > things, so f_mapping is enough. Also setting inode->i_mapping was > confusing me as a driver maintainer, since in e.g. drivers/gpu we > don't do that. Per Dan this seems to be copypasta from places which do > care about pagecache consistency, but not needed. Hence remove it for > slightly less confusion. > > Signed-off-by: Daniel Vetter <[email protected]> > Cc: Jason Gunthorpe <[email protected]> > Cc: Kees Cook <[email protected]> > Cc: Dan Williams <[email protected]> > Cc: Andrew Morton <[email protected]> > Cc: John Hubbard <[email protected]> > Cc: Jérôme Glisse <[email protected]> > Cc: Jan Kara <[email protected]> > Cc: Dan Williams <[email protected]>
Reviewed-by: Dan Williams <[email protected]>

