Files
linux/fs/ext4
Colin Ian King ff69322509 ext4: unsigned int compared against zero
[ Upstream commit fbbbbd2f28 ]

There are two cases where u32 variables n and err are being checked
for less than zero error values, the checks is always false because
the variables are not signed. Fix this by making the variables ints.

Addresses-Coverity: ("Unsigned compared against 0")
Fixes: 345c0dbf3a ("ext4: protect journal inode's blocks using block_validity")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-09-16 08:22:24 +02:00
..
2019-07-28 08:29:30 +02:00
2018-09-15 17:11:25 -04:00
2019-07-28 08:29:30 +02:00