diff options
author | Jan Kara <jack@suse.cz> | 2025-02-06 12:46:58 +0300 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2025-03-17 18:19:41 +0300 |
commit | e6eff39dd0fe4190c6146069cc16d160e71d1148 (patch) | |
tree | b210964155e5b6e2fe8eb3b4a5589672f080ee03 /scripts/gdb/linux/tasks.py | |
parent | 5f920d5d60839f7cbbb1ed50eac68d8bc0a73a7c (diff) | |
download | linux-e6eff39dd0fe4190c6146069cc16d160e71d1148.tar.xz |
jbd2: remove wrong sb->s_sequence check
Journal emptiness is not determined by sb->s_sequence == 0 but rather by
sb->s_start == 0 (which is set a few lines above). Furthermore 0 is a
valid transaction ID so the check can spuriously trigger. Remove the
invalid WARN_ON.
CC: stable@vger.kernel.org
Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Zhang Yi <yi.zhang@huawei.com>
Link: https://patch.msgid.link/20250206094657.20865-3-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions