summaryrefslogtreecommitdiff
path: root/tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-06-16 16:08:34 +0200
committerChristian Brauner <brauner@kernel.org>2026-06-29 10:31:54 +0200
commita21db4dcaf4ad617c6f7aa9e4c879cf0d797631b (patch)
treef2c9c1d5b2704e2d563d3d1135d3c0b85d67ccad /tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git
parentaafb9e8c010edf428b2a2d6a3b18966971d9149e (diff)
selftests/filesystems: add ustat() coverage
user_get_super() is now backed by the global device-to-superblock table instead of a walk of the super_blocks list. ustat(2) is its most direct user-visible consumer but nothing in the tree exercises it. Add a small regression test: the device number of a mounted tmpfs (an anonymous device, registered in the table by sget_fc()) must resolve, it must stop resolving after the unmount (the entry is dropped again in kill_super_notify()), and bogus device numbers keep reporting EINVAL. The test passes on kernels before the conversion: it pins down the semantics the table-backed lookup must preserve. Link: https://patch.msgid.link/20260616-work-super-bdev_holder_global-v2-18-7df6b864028e@kernel.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/tracing/rtla/tests/scripts/lib/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions