]> www.infradead.org Git - users/willy/pagecache.git/commit
reiserfs: Switch to memcpy_from_folio() bh-fixes
authorRitesh Harjani (IBM) <ritesh.list@gmail.com>
Thu, 7 Sep 2023 13:57:49 +0000 (09:57 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 7 Sep 2023 13:57:49 +0000 (09:57 -0400)
commit41da6a72b45236ea1497d1a6d6363c55cdf1d491
tree7410c594da33a6a8f6b342e1b68ce6397bf0265b
parentfc0a6fa4a2c7b434665f087801a06c544b16f085
reiserfs: Switch to memcpy_from_folio()

Use a modern API instead of open-coded calls to kmap/memcpy/kunmap.
Also removes a call to offset_in_page() which assumes the buffer_head
points into a single page.

Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/reiserfs/journal.c