mirror of
https://github.com/torvalds/linux.git
synced 2026-12-03 20:06:35 +00:00
Unlike the other cases gup_longterm's memfd tests previously skipped the
test when failing to set up the file descriptor to test. Restore this
behavior to avoid hitting failures when hugetlb isn't configured.
Link: https://lkml.kernel.org/r/20250605-selftest-mm-gup-longterm-tweaks-v1-1-2fae34b05958@kernel.org
Fixes: 66bce7afba ("selftests/mm: fix test result reporting in gup_longterm")
Signed-off-by: Mark Brown <[email protected]>
Reported-by: Lorenzo Stoakes <[email protected]>
Closes: https://lkml.kernel.org/r/[email protected]
Reviewed-by: Lorenzo Stoakes <[email protected]>
Tested-by: Lorenzo Stoakes <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Cc: Shuah Khan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>