[Ocfs2-devel] [PATCH 11/25] vfs: pass remap flags to generic_remap_file_range_prep

Darrick J. Wong darrick.wong at oracle.com
Mon Oct 15 08:42:08 PDT 2018


On Sun, Oct 14, 2018 at 10:37:38AM -0700, Christoph Hellwig wrote:
> > +	bool is_dedupe = (remap_flags & RFR_SAME_DATA);
> 
> Btw, I think the code would be cleaner if we dropped this variable.

Ok to both.  I'll move up the patch to replace is_dedupe with
remap_flags to avoid churning the _touch function too, btw.

--D



More information about the Ocfs2-devel mailing list