Page MenuHomeFreeBSD

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

Authored by dumbbell on Sun, Jun 14, 9:12 AM.
Tags
None
Referenced Files
F161582058: D57572.id180546.diff
Sun, Jul 5, 2:00 AM
F161553891: D57572.diff
Sat, Jul 4, 7:56 PM
Unknown Object (File)
Thu, Jul 2, 9:26 PM
Unknown Object (File)
Thu, Jul 2, 3:24 AM
Unknown Object (File)
Wed, Jul 1, 1:20 PM
Unknown Object (File)
Tue, Jun 30, 4:46 AM
Unknown Object (File)
Fri, Jun 26, 1:27 AM
Unknown Object (File)
Thu, Jun 25, 3:29 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

Lint
Lint Skipped
Unit
Tests Skipped