]> Gentwo Git Trees - linux/.git/commit
jfs: Convert insert_metapage() to take a folio
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 17 Apr 2024 17:56:48 +0000 (18:56 +0100)
committerDave Kleikamp <dave.kleikamp@oracle.com>
Fri, 24 May 2024 15:26:04 +0000 (10:26 -0500)
commit9346476d211611f3c0d512cb6e942ab76f5376d8
tree05ab33230ac709abfb58db9bc2bd0c8fbdb7dd50
parent2dcd9630d988509aa87de2ce7826a697f8ce58ea
jfs: Convert insert_metapage() to take a folio

Both of its callers now have a folio, so convert this function.
Use folio_attach_private() instead of manually setting folio->private.
This also gets the expected refcount of the folio correct.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
fs/jfs/jfs_metapage.c