summaryrefslogtreecommitdiff
path: root/scripts/livepatch/init.c
diff options
context:
space:
mode:
authorWengang Wang <wen.gang.wang@oracle.com>2025-10-31 14:05:01 -0700
committerTheodore Ts'o <tytso@mit.edu>2025-11-26 17:05:39 -0500
commit80d05f640a51f94b88640db7f1551f8e8fee44b9 (patch)
tree9654e1f9cffa11782c281f9d814e2e3db363be09 /scripts/livepatch/init.c
parent986835bf4d11032bba4ab8414d18fce038c61bb4 (diff)
jbd2: store more accurate errno in superblock when possible
When jbd2_journal_abort() is called, the provided error code is stored in the journal superblock. Some existing calls hard-code -EIO even when the actual failure is not I/O related. This patch updates those calls to pass more accurate error codes, allowing the superblock to record the true cause of failure. This helps improve diagnostics and debugging clarity when analyzing journal aborts. Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com> Reviewed-by: Zhang Yi <yi.zhang@huawei.com> Message-ID: <20251031210501.7337-1-wen.gang.wang@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/livepatch/init.c')
0 files changed, 0 insertions, 0 deletions