]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
idmapped-mounts: make all tests set their required feature flags
authorChristian Brauner <brauner@kernel.org>
Thu, 12 May 2022 16:52:38 +0000 (18:52 +0200)
committerZorro Lang <zlang@kernel.org>
Thu, 12 May 2022 18:38:55 +0000 (02:38 +0800)
commit90c001261171da58c6ea47c1bafb8dd3e0e12963
tree763b25a0b223705151aec311671dffce1b74891c
parent7a2adb8f44e5a63875c6d10f94ca7427f27a8148
idmapped-mounts: make all tests set their required feature flags

In commit 858a19c5e9b0 ("idmapped_mounts: Prepare for support for more
features") we introduced a flag argument to check for multiple features
and then decide based on the flag argument whether a test requires a
given feature and skip it if the kernel doesn't provide it.

However, not all tests were ported to the new flag argument and still
use the old infrastructure. Port them all.

Fixes: 858a19c5e9b0 ("idmapped_mounts: Prepare for support for more features")
Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
src/idmapped-mounts/idmapped-mounts.c
src/idmapped-mounts/utils.h