aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorLuis Henriques (SUSE) <luis.henriques@linux.dev>2024-07-24 17:11:16 +0100
committerTheodore Ts'o <tytso@mit.edu>2024-08-26 23:39:42 -0400
commit972090651ee15e51abfb2160e986fa050cfc7a40 (patch)
treeb43e7357c7cd19d6e288d9fec0c2309157909ece /fs/ext4/fast_commit.c
parentdd589b0f1445e1ea1085b98edca6e4d5dedb98d0 (diff)
ext4: fix incorrect tid assumption in __jbd2_log_wait_for_space()
Function __jbd2_log_wait_for_space() assumes that '0' is not a valid value for transaction IDs, which is incorrect. Don't assume that and invoke jbd2_log_wait_commit() if the journal had a committing transaction instead. Signed-off-by: Luis Henriques (SUSE) <luis.henriques@linux.dev> Reviewed-by: Jan Kara <jack@suse.cz> Link: https://patch.msgid.link/20240724161119.13448-3-luis.henriques@linux.dev Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions