We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd66532 commit f2f01a1Copy full SHA for f2f01a1
kernel-1100/src/mount.rs
@@ -5,6 +5,8 @@ use okf::queue::TailQueueEntry;
5
pub struct Mount {
6
pad1: [u8; 0x28],
7
entry: TailQueueEntry<Self>,
8
+ pad2: [u8; 0x48],
9
+ flags: u64,
10
}
11
12
impl okf::mount::Mount for Mount {
@@ -15,4 +17,8 @@ impl okf::mount::Mount for Mount {
15
17
fn entry_mut(&mut self) -> &mut TailQueueEntry<Self> {
16
18
&mut self.entry
19
20
+
21
+ fn flags(&self) -> u64 {
22
+ self.flags
23
+ }
24
src/mount/mod.rs
@@ -7,4 +7,7 @@ pub trait Mount: Sized {
/// Returns mutable `mnt_list`.
fn entry_mut(&mut self) -> &mut TailQueueEntry<Self>;
+ /// Returns the value of `mnt_flag`.
+ fn flags(&self) -> u64;
13
0 commit comments