Page MenuHomeFreeBSD

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

Authored by dumbbell on Sun, Jun 14, 9:12 AM.
Tags
None
Referenced Files
F159727465: D57572.id.diff
Wed, Jun 17, 2:00 PM
F159701053: D57572.diff
Wed, Jun 17, 5:43 AM
Unknown Object (File)
Tue, Jun 16, 4:55 PM
Unknown Object (File)
Mon, Jun 15, 5:23 PM
Unknown Object (File)
Mon, Jun 15, 2:27 PM
Unknown Object (File)
Mon, Jun 15, 5:12 AM
Unknown Object (File)
Sun, Jun 14, 6:25 PM
Subscribers

Details

Reviewers
None
Group Reviewers
linuxkpi
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