Re: [PATCH 1/2] vfs: move generic_remap_checks out of mm

2020-10-15 Thread Darrick J. Wong
On Thu, Oct 15, 2020 at 12:38:26PM +0100, Matthew Wilcox wrote: > On Wed, Oct 14, 2020 at 05:31:21PM -0700, Darrick J. Wong wrote: > > I would like to move all the generic helpers for the vfs remap range > > functionality (aka clonerange and dedupe) into a separate file so that > > they won't be sc

Re: [PATCH 1/2] vfs: move generic_remap_checks out of mm

2020-10-15 Thread Matthew Wilcox
On Wed, Oct 14, 2020 at 05:31:21PM -0700, Darrick J. Wong wrote: > I would like to move all the generic helpers for the vfs remap range > functionality (aka clonerange and dedupe) into a separate file so that > they won't be scattered across the vfs and the mm subsystems. The > eventual goal is to

[PATCH 1/2] vfs: move generic_remap_checks out of mm

2020-10-14 Thread Darrick J. Wong
From: Darrick J. Wong I would like to move all the generic helpers for the vfs remap range functionality (aka clonerange and dedupe) into a separate file so that they won't be scattered across the vfs and the mm subsystems. The eventual goal is to be able to deselect remap_range.c if none of the