diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-06-16 16:08:34 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-06-29 10:31:54 +0200 |
| commit | a21db4dcaf4ad617c6f7aa9e4c879cf0d797631b (patch) | |
| tree | f2c9c1d5b2704e2d563d3d1135d3c0b85d67ccad /drivers/phy/axiado/git@git.tavy.me:linux.git | |
| parent | aafb9e8c010edf428b2a2d6a3b18966971d9149e (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 'drivers/phy/axiado/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
