aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2025-02-06 09:46:59 +0000
committerTheodore Ts'o <[email protected]>2025-03-17 15:19:41 +0000
commita662f3c03b754e1f97a2781fa242e95bdb139798 (patch)
tree5f19cd9e6ec639f30491b5c009163192f9182dd2 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
parentjbd2: remove wrong sb->s_sequence check (diff)
downloadkernel-a662f3c03b754e1f97a2781fa242e95bdb139798.tar.gz
kernel-a662f3c03b754e1f97a2781fa242e95bdb139798.zip
jbd2: do not try to recover wiped journal
If a journal is wiped, we will set journal->j_tail to 0. However if 'write' argument is not set (as it happens for read-only device or for ocfs2), the on-disk superblock is not updated accordingly and thus jbd2_journal_recover() cat try to recover the wiped journal. Fix the check in jbd2_journal_recover() to use journal->j_tail for checking empty journal instead. Signed-off-by: Jan Kara <[email protected]> Reviewed-by: Zhang Yi <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c')
0 files changed, 0 insertions, 0 deletions