Page MenuHomeFreeBSD

linuxkpi: Define `struct vfsmount` in <linux/mount.h>
ClosedPublic

Authored by dumbbell on Jun 14 2026, 9:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 24, 7:57 AM
Unknown Object (File)
Fri, Jul 24, 4:54 AM
Unknown Object (File)
Thu, Jul 23, 5:27 AM
Unknown Object (File)
Wed, Jul 22, 9:56 PM
Unknown Object (File)
Tue, Jul 21, 5:11 AM
Unknown Object (File)
Sun, Jul 12, 12:42 AM
Unknown Object (File)
Sun, Jul 5, 3:23 PM
Unknown Object (File)
Sun, Jul 5, 2:00 AM
Subscribers

Details

Summary

In the context of the DRM drivers, this is used to show GEM objects in a shmfs virtual filesystem. The new shmem_file_setup_with_mnt() - also introduced in this commit as an alias to shmem_file_setup() - takes a struct vfsmount as its first argument to indicate which shmfs mount should be used.

For now, the structure is empty. As we don't present GEM objects in a virtual filesystem right now, we can defer the actual implementation of this structure once we have an actual use for it.

The DRM generic code started to use it in Linux 6.13.

This is part of the update of DRM drivers to Linux 6.13.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable