diff options
author | Etienne Brateau <etienne.brateau@gmail.com> | 2022-01-18 22:11:40 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-18 22:34:40 +0100 |
commit | 0ba67e20da488e1b715b5c33e3d08daeec3b8aba (patch) | |
tree | 8bacbdad4f07db45bfa1d5301af6b8c991e5d7ba /libstore/remap.c | |
parent | b874989276a33411f188f277e74b612612af6fac (diff) | |
download | hurd-0ba67e20da488e1b715b5c33e3d08daeec3b8aba.tar.gz hurd-0ba67e20da488e1b715b5c33e3d08daeec3b8aba.tar.bz2 hurd-0ba67e20da488e1b715b5c33e3d08daeec3b8aba.zip |
ext2fs: fix invalid check
log2_dev_block_per_fs_block is unsigned so it won’t never be less than 0
and the check is then always false. Instead check the two values directly
before doing the substraction.
Message-Id: <20220118211140.8837-1-etienne.brateau@gmail.com>
Diffstat (limited to 'libstore/remap.c')
0 files changed, 0 insertions, 0 deletions