]> 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>
Sun, 6 Jul 2025 08:57:56 +0000 (10:57 +0200)
commit5e147952a0f334614f2920765d8fd8572da16a1e
treee00004746e890fa7caa1e56d471abd90243a4f91
parent6ab71a98f41f16b20947de509d2b991c00241311
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