# Re: \[PATCH v5 01/27\] fs/cachefiles: Remove wait\_bit\_key layout dependency

- From: David Howells \<dhowells@redhat.com\>
- Date: 2021-03-22 09:26:41 
- List: linux-mm
- Page: https://ratatoskr.run/linux-mm/2021/03/202216
- Thread: https://ratatoskr.run/linux-mm/2021/03/202107/t.md

```text
Matthew Wilcox (Oracle) [ref] 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@infradead.org>

Acked-and-tested-by: David Howells [ref]

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


```
