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

From: David Howells
Date: Mon Mar 22 2021 - 05:26:40 EST


Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxx>

Acked-and-tested-by: David Howells <dhowells@xxxxxxxxxx>

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