bcachefs: Use attach_page_private and detach_page_private
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 5 Nov 2020 15:58:38 +0000 (15:58 +0000)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:46 +0000 (17:08 -0400)
commit00276f9f34c29c59a848e22eb491d76c268f0dad
tree1efa1e282b4b3088b283dc60e507ed498c7a8920
parent96fee47e44939c087d1a0f9ed69555374e751843
bcachefs: Use attach_page_private and detach_page_private

These recently added helpers simplify the code.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/fs-io.c