Skip to content
Commit 2febd5f8 authored by Immad Mir's avatar Immad Mir Committed by Greg Kroah-Hartman
Browse files

FS: JFS: Check for read-only mounted filesystem in txBegin



[ Upstream commit 95e2b352 ]

 This patch adds a check for read-only mounted filesystem
 in txBegin before starting a transaction potentially saving
 from NULL pointer deref.

Signed-off-by: default avatarImmad Mir <mirimmad17@gmail.com>
Signed-off-by: default avatarDave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 3e94d0d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment