mirror of
https://github.com/torvalds/linux.git
synced 2024-12-30 06:41:43 +00:00
15f0ec941f
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 |