commit | 6f15c02ebbe9f6a6b255a3888e0f782887605b72 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <[email protected]> | Sat Mar 20 05:40:38 2021 +0000 |
committer | Greg Kroah-Hartman <[email protected]> | Tue Mar 30 14:32:07 2021 +0200 |
tree | c8c8235f9919c4f68c8a7b181848d98dfdb3c882 | |
parent | 002ea848d7fd3bdcb6281e75bdde28095c2cd549 [diff] |
fs/cachefiles: Remove wait_bit_key layout dependency commit 39f985c8f667c80a3d1eb19d31138032fa36b09e upstream. 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 A comment on the need to maintain structure layout equivalence was added by Linus[1] and that is no longer applicable. Fixes: 62906027091f ("mm: add PageWaiters indicating tasks are waiting for a page bit") Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: David Howells <[email protected]> Tested-by: [email protected] cc: [email protected] cc: [email protected] Link: https://lore.kernel.org/r/[email protected]/ Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=3510ca20ece0150af6b10c77a74ff1b5c198e3e2 [1] Signed-off-by: Greg Kroah-Hartman <[email protected]>