jfs: replace hardcoded magic number with DTPAGEMAXSLOT constant

Replace hardcoded value 127 with DTPAGEMAXSLOT constant in boundary
checks within jfs_readdir() and dtReadFirst(). This improves code
maintainability and ensures consistency with the defined maximum
slot value.

Signed-off-by: Zheng Yu <zheng.yu@northwestern.edu>
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
This commit is contained in:
Zheng Yu 2025-07-29 18:28:56 +00:00 • committed by Dave Kleikamp
commit cafc667982