]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/645: Add hint for expected failure with old kernel
authorTaylor Jackson <tjackson9431@gmail.com>
Wed, 17 Apr 2024 19:34:24 +0000 (19:34 +0000)
committerZorro Lang <zlang@kernel.org>
Sat, 20 Apr 2024 14:40:48 +0000 (22:40 +0800)
commit6455e684efd189e42d576628a17a5f7d6ada8a85
tree1cdaa664f9e2bff7302c6fbda2a1c015bb98ac2c
parent3e453f6fa96c5ad395aa8669683ac41cd3fae430
generic/645: Add hint for expected failure with old kernel

The following hint is added to reflect that any old kernel
without kernel commit dacfd001eaf2 (“fs/mnt_idmapping.c: Return
-EINVAL when no map is written”) is expected to fail this generic
645 test since without that commit, mount_setattr won’t return
EINVAL when attempting to create an idmapped mount using a user
namespace with no mappings.

Reported-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Taylor Jackson <tjackson9431@gmail.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/645