diff options
| author | Luis Henriques (SUSE) <[email protected]> | 2024-07-24 16:11:15 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2024-08-27 03:39:35 +0000 |
| commit | dd589b0f1445e1ea1085b98edca6e4d5dedb98d0 (patch) | |
| tree | 7b84518d313ae556270d1cf88914e981df31118a /fs/ext4/fast_commit.c | |
| parent | jbd2: fix kernel-doc for j_transaction_overhead_buffers (diff) | |
| download | kernel-dd589b0f1445e1ea1085b98edca6e4d5dedb98d0.tar.gz kernel-dd589b0f1445e1ea1085b98edca6e4d5dedb98d0.zip | |
ext4: fix incorrect tid assumption in ext4_wait_for_tail_page_commit()
Function ext4_wait_for_tail_page_commit() 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) <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Cc: [email protected]
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
