summaryrefslogtreecommitdiff
path: root/%253fid%253d15f0d8d0bafb0d841dde53af549c4c44b059d7f5%3fid%3d0ba33facfc9bb556d...
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-05-10 22:06:38 -0400
committerTheodore Ts'o <tytso@mit.edu>2019-05-10 22:06:38 -0400
commitfbbbbd2f28aec991f3fbc248df211550fbdfd58c (patch)
treee8aaa7d407923741c2dd3a307bb658aa66edc922 /%253fid%253d15f0d8d0bafb0d841dde53af549c4c44b059d7f5%3fid%3d0ba33facfc9bb556d1938caa67dfe452695a9be9?id=fbbbbd2f28aec991f3fbc248df211550fbdfd58c
parent08fc98a4d6424af66eb3ac4e2cedd2fc927ed436 (diff)
ext4: unsigned int compared against zero
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: 345c0dbf3a30 ("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>
Diffstat (limited to '%253fid%253d15f0d8d0bafb0d841dde53af549c4c44b059d7f5%3fid%3d0ba33facfc9bb556d1938caa67dfe452695a9be9?id=fbbbbd2f28aec991f3fbc248df211550fbdfd58c')
0 files changed, 0 insertions, 0 deletions