OpenCloudOS-Kernel/tools/testing/selftests/mount_setattr
Christian Brauner d1c56bfdac
tests: fix idmapped mount_setattr test
The test treated zero as a successful run when it really should treat
non-zero as a successful run. A mount's idmapping can't change once it
has been attached to the filesystem.

Link: https://lore.kernel.org/r/20220203131411.3093040-2-brauner@kernel.org
Fixes: 01eadc8dd9 ("tests: add mount_setattr() selftests")
Cc: Seth Forshee <seth.forshee@digitalocean.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: linux-fsdevel@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2022-02-11 09:08:20 +01:00
..
.gitignore tests: add mount_setattr() selftests 2021-01-24 14:43:45 +01:00
Makefile tests: add mount_setattr() selftests 2021-01-24 14:43:45 +01:00
config tests: add mount_setattr() selftests 2021-01-24 14:43:45 +01:00
mount_setattr_test.c tests: fix idmapped mount_setattr test 2022-02-11 09:08:20 +01:00