summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-09 20:02:41 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-09-09 20:02:41 +0300
commit55d40c0636e51ed07f2eccaaf70d1d7d72ea5984 (patch)
treec2187083f2f14bb87a90a39d210e25b24412fa31 /rust
parent2bd84652053c03a503a2ae99685d9535b651d021 (diff)
parent1037d3a33ba609fac558643fbb794b24a562af35 (diff)
downloadlinux-rolling-stable.tar.xz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'rust')
-rw-r--r--rust/kernel/mm/virt.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/kernel/mm/virt.rs b/rust/kernel/mm/virt.rs
index 31803674aecc..a1181cfae962 100644
--- a/rust/kernel/mm/virt.rs
+++ b/rust/kernel/mm/virt.rs
@@ -209,6 +209,7 @@ impl VmaMixedMap {
///
/// For the duration of 'a, the referenced vma must be undergoing initialization in an
/// `f_ops->mmap()` hook.
+#[repr(transparent)]
pub struct VmaNew {
vma: VmaRef,
}