diff options
| author | Luis Henriques (SUSE) <[email protected]> | 2024-07-24 16:11:16 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2024-08-27 03:39:42 +0000 |
| commit | 972090651ee15e51abfb2160e986fa050cfc7a40 (patch) | |
| tree | b43e7357c7cd19d6e288d9fec0c2309157909ece /fs/ext4/fast_commit.c | |
| parent | ext4: fix incorrect tid assumption in ext4_wait_for_tail_page_commit() (diff) | |
| download | kernel-972090651ee15e51abfb2160e986fa050cfc7a40.tar.gz kernel-972090651ee15e51abfb2160e986fa050cfc7a40.zip | |
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) <[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
