selftests: openat2: switch from custom ARRAY_LEN to ARRAY_SIZE

For whatever reason, the original version of the tests used a custom
version of ARRAY_SIZE, but ARRAY_SIZE works just as well.

Signed-off-by: Aleksa Sarai <aleksa@amutable.com>
Link: https://patch.msgid.link/20260401-openat2-selftests-kunit-v2-3-ad153a07da0c@amutable.com
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
This commit is contained in:
Aleksa Sarai 2026-04-01 11:28:04 +11:00 • committed by Christian Brauner
commit 582c904573
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2
3 changed files with 8 additions and 9 deletions