Files
i2som-imx-linux/include/linux
Jan Kara 3152fcd479 jbd2: Fix possible overflow in jbd2_log_space_left()
commit add3efdd78 upstream.

When number of free space in the journal is very low, the arithmetic in
jbd2_log_space_left() could underflow resulting in very high number of
free blocks and thus triggering assertion failure in transaction commit
code complaining there's not enough space in the journal:

J_ASSERT(journal->j_free > 1);

Properly check for the low number of free blocks.

CC: stable@vger.kernel.org
Reviewed-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20191105164437.32602-1-jack@suse.cz
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-12-13 08:52:43 +01:00
..
2019-12-13 08:51:18 +01:00
2019-04-20 09:16:05 +02:00
2019-10-05 13:10:03 +02:00
2019-07-03 13:14:48 +02:00
2019-08-09 17:52:28 +02:00
2019-11-24 08:19:14 +01:00
2019-05-31 06:46:18 -07:00
2019-10-17 13:45:42 -07:00
2019-12-13 08:52:43 +01:00
2019-06-11 12:20:52 +02:00
2019-11-10 11:27:54 +01:00
2019-04-17 08:38:45 +02:00
2018-11-13 11:08:51 -08:00
2019-06-17 19:51:56 +02:00