]> www.infradead.org Git - users/willy/pagecache.git/commit
ocfs2: Use memcpy_to_folio() in ocfs2_symlink_get_block()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 25 Dec 2024 21:51:37 +0000 (16:51 -0500)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 13 Feb 2025 21:43:55 +0000 (16:43 -0500)
commitf73c6698103b101fd455e5ad34c50f0e52dc9706
tree4a383dd7b36f582ab8410aa5d9cbdd2c613e53e8
parent67606c0625d7ede0f2980d066b468ae57cbc2154
ocfs2: Use memcpy_to_folio() in ocfs2_symlink_get_block()

Replace use of kmap_atomic() with the higher-level construct
memcpy_to_folio().  This removes a use of b_page and supports
large folios as well as being easier to understand.  It also
removes the check for kmap_atomic() failing (because it can't).

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
fs/ocfs2/aops.c