[LTP] zram01: Specify filesystem type explicitly in mount
linuxtestproject.agent@gmail.com
linuxtestproject.agent@gmail.com
Mon May 25 21:42:38 CEST 2026
Hi Avinesh,
On Mon, 25 May 2026 21:01:23 +0200, Avinesh Kumar wrote:
> zram01: Specify filesystem type explicitly in mount
> - for i in $(seq $dev_start $dev_end); do
> - tst_res TINFO "mount /dev/zram$i"
> + local i=$dev_start
> + local fs
> +
> + for fs in $zram_filesystems; do
> + tst_res TINFO "mount /dev/zram$i ($fs)"
> mkdir zram$i
> - ROD mount /dev/zram$i zram$i
> + ROD mount -t "$fs" /dev/zram$i zram$i
> dev_mounted=$i
> + i=$((i + 1))
> done
Nit: the rest of the file uses `$(($i + 1))` (e.g. zram_makefs). Prefer
`i=$(($i + 1))` here for consistency.
[...]
Reviewed-by: LTP AI Reviewer <ltp-ai@noreply.github.com>
---
Note:
Our agent completed the review of the patch. The full review can be
found at: https://github.com/linux-test-project/ltp-agent/actions/runs/26416857886
The agent can sometimes produce false positives although often its
findings are genuine. If you find issues with the review, please
comment this email or ignore the suggestions.
Regards,
LTP AI Reviewer
More information about the ltp
mailing list