[PATCH v5 01/27] fs/cachefiles: Remove wait_bit_key layout dependency

David Howells dhowells at redhat.com
Mon Mar 22 09:25:35 GMT 2021


Matthew Wilcox (Oracle) <willy at infradead.org> wrote:

> Cachefiles was relying on wait_page_key and wait_bit_key being the
> same layout, which is fragile.  Now that wait_page_key is exposed in
> the pagemap.h header, we can remove that fragility
> 
> Signed-off-by: Matthew Wilcox (Oracle) <willy at infradead.org>

Acked-and-tested-by: David Howells <dhowells at redhat.com>

I wonder if this could be pushed directly to Linus now since we're relying on
two different structs being compatible.




More information about the linux-afs mailing list