]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
gfs2: Convert gfs2_metapath_ra to bh_submit()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Thu, 28 May 2026 17:31:35 +0000 (18:31 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 4 Jun 2026 08:28:09 +0000 (10:28 +0200)
commitf8ff032ce5f0c08348b55468330a67c93b58848b
tree24076d3832b0fd380b779c10af12d4ef2b27cc68
parent184dec3146911b923a7eff11545f85797c2b9f81
gfs2: Convert gfs2_metapath_ra to bh_submit()

Avoid an extra indirect function call by using bh_submit() instead
of submit_bh().  Also simplify the control flow now that the buffer
refcount is not put by bh_end_read().

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Link: https://patch.msgid.link/20260528173150.1093780-23-willy@infradead.org
Reviewed-by: Jan Kara <jack@suse.cz>
Cc: gfs2@lists.linux.dev
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
fs/gfs2/bmap.c