Re: [RFC PATCH 1/2] mm: introduce bmap_walk()

From: Christoph Hellwig
Date: Sat Jun 17 2017 - 01:22:20 EST


On Fri, Jun 16, 2017 at 06:15:29PM -0700, Dan Williams wrote:
> Refactor the core of generic_swapfile_activate() into bmap_walk() so
> that it can be used by a new daxfile_activate() helper (to be added).

No way in hell! generic_swapfile_activate needs to day and no new users
of ->bmap over my dead body. It's a guaranteed to fuck up your data left,
right and center.