Re: [PATCH 15/26] mm: Export writeback_iter()

From: David Howells
Date: Wed Apr 03 2024 - 06:55:42 EST


Christoph Hellwig <hch@xxxxxx> wrote:

> On Wed, Apr 03, 2024 at 11:10:47AM +0100, David Howells wrote:
> > That depends. You put a comment on write_cache_pages() saying that people
> > should use writeback_iter() instead. w_c_p() is not marked GPL. Is it your
> > intention to get rid of it?
>
> Yes. If you think you're not a derivate work of Linux you have no
> business using either one.

So why are we bothering with EXPORT_SYMBOL at all? Why don't you just send a
patch replace all of them with EXPORT_SYMBOL_GPL()?

David