summaryrefslogtreecommitdiff
path: root/fs/ext4/resize.c
diff options
context:
space:
mode:
authorDing Xiang <dingxiang@cmss.chinamobile.com>2022-05-30 13:00:47 +0300
committerTheodore Ts'o <tytso@mit.edu>2022-06-19 02:35:57 +0300
commitbc75a6eb856cb1507fa907bf6c1eda91b3fef52f (patch)
tree46c0ca94cb895472874b379acd40d45e506f1c3a /fs/ext4/resize.c
parentcf4ff938b47fc5c00b0ccce53a3b50eca9b32281 (diff)
downloadlinux-bc75a6eb856cb1507fa907bf6c1eda91b3fef52f.tar.xz
ext4: make variable "count" signed
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>
Diffstat (limited to 'fs/ext4/resize.c')
0 files changed, 0 insertions, 0 deletions