Re: [PATCH 12/16] ntfs3: remove copy and pasted iomap code

Konstantin Komarov <[email protected]>
Newsgroups dev.linux.lists.ntfs3,dev.linux.lists.nvdimm,org.kernel.vger.linux-block,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-xfs
Message-ID <[email protected]>
On 3/3/26 16:21, Christoph Hellwig wrote:

> On Fri, Feb 27, 2026 at 02:46:08PM +0100, Konstantin Komarov wrote:
>> Thanks for the note. The iomap helper was copied because
>> `iomap_bio_read_folio_range` is defined `static` in iomap/bio.c and thus
>> not available for reuse; that prevented using the exported helpers in this
>> tree.
> Please talk to maintainers and authors before copy and pasting their
> code.  There's usually a better way.
>
Understood. In future I will contact the authors and maintainers before
copying code.

Regards,
Konstantin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.