diff options
author | Ding Xiang <dingxiang@cmss.chinamobile.com> | 2022-05-30 18:00:47 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-22 14:28:11 +0200 |
commit | 084648a89d7c8b86563a4f64255fcfc82e31020a (patch) | |
tree | 4a53e9094c01d4a339628b89da003dfedd3cb50b /scripts/patch-kernel | |
parent | 887a3e9ad4b8309a2266bce7ae749b2bf1f7a687 (diff) |
ext4: make variable "count" signed
commit bc75a6eb856cb1507fa907bf6c1eda91b3fef52f upstream.
Since dx_make_map() may return -EFSCORRUPTED now, so change "count" to
be a signed integer so we can correctly check for an error code returned
by dx_make_map().
Fixes: 46c116b920eb ("ext4: verify dir block before splitting it")
Cc: stable@kernel.org
Signed-off-by: Ding Xiang <dingxiang@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20220530100047.537598-1-dingxiang@cmss.chinamobile.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions