selftests: add tests for mntns iteration

Test that forward and backward iteration works correctly.

Link: https://lore.kernel.org/r/20241213-work-mount-rbtree-lockless-v3-8-6e3cdaf9b280@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christian Brauner 2024-12-13 00:03:47 +01:00
commit 9d87b10673
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2
3 changed files with 151 additions and 1 deletions