]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs/jfs: consolidate sanity checking in dbMount
authorDave Kleikamp <dave.kleikamp@oracle.com>
Thu, 20 Feb 2025 16:31:19 +0000 (10:31 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Jul 2025 13:57:35 +0000 (15:57 +0200)
commit4789cea3f8d470c1c811535963704d379b534c8f
treebaf1fa01a4d3aa129707c8846cd245f5b8b9def0
parent8c8d1dcc726a942ac9b3fda65f7d8ca713e33781
fs/jfs: consolidate sanity checking in dbMount

[ Upstream commit 0d250b1c52484d489e31df2cf9118b7c4bd49d31 ]

Sanity checks have been added to dbMount as individual if clauses with
identical error handling. Move these all into one clause.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Stable-dep-of: 37bfb464ddca ("jfs: validate AG parameters in dbMount() to prevent crashes")
Signed-off-by: Sasha Levin <sashal@kernel.org>
fs/jfs/jfs_dmap.c