[PATCH] jfs: validate max amount of blocks before allocation.

Aleksei Filippov
2023-07-23T12:02:32Z

shift out of bounds, so this patch prevents undefined behavior, because
bmp->db_max_freebud == -1 only if there is no free space.

Signed-off-by: Aleksei Filippov <halip0503@gmail.com>
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")