mirror of
https://github.com/torvalds/linux.git
synced 2026-05-30 10:04:04 +02:00
LTP memfd_create04 started failing for some huge page sizes
after v5.4-10135-gc3bfc5dd73c6.
The problem is the check introduced to for_each_hstate() loop that
should skip default_hstate_idx. Since it doesn't update 'i' counter,
all subsequent huge page sizes are skipped as well.
Fixes:
|
||
|---|---|---|
| .. | ||
| inode.c | ||
| Makefile | ||