Skip to content

Commit

Permalink
Merge pull request #3663 from snogge/statfs_f_flags
Browse files Browse the repository at this point in the history
gnu: Add f_flags to struct statfs for arm, powerpc and x86
  • Loading branch information
JohnTitor authored Apr 24, 2024
2 parents d106c9f + 12e3a0b commit 4a79653
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/unix/linux_like/linux/gnu/b32/arm/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ s! {

pub f_namelen: ::__fsword_t,
pub f_frsize: ::__fsword_t,
f_spare: [::__fsword_t; 5],
pub f_flags: ::__fsword_t,
f_spare: [::__fsword_t; 4],
}

pub struct flock {
Expand Down
3 changes: 2 additions & 1 deletion src/unix/linux_like/linux/gnu/b32/mips/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ s! {
pub f_fsid: ::fsid_t,

pub f_namelen: ::c_long,
f_spare: [::c_long; 6],
pub f_flags: ::c_long,
f_spare: [::c_long; 5],
}

pub struct statfs64 {
Expand Down
3 changes: 2 additions & 1 deletion src/unix/linux_like/linux/gnu/b32/powerpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ s! {

pub f_namelen: ::__fsword_t,
pub f_frsize: ::__fsword_t,
f_spare: [::__fsword_t; 5],
pub f_flags: ::__fsword_t,
f_spare: [::__fsword_t; 4],
}

pub struct flock {
Expand Down
3 changes: 2 additions & 1 deletion src/unix/linux_like/linux/gnu/b32/x86/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ s! {

pub f_namelen: ::__fsword_t,
pub f_frsize: ::__fsword_t,
f_spare: [::__fsword_t; 5],
pub f_flags: ::__fsword_t,
f_spare: [::__fsword_t; 4],
}

pub struct flock {
Expand Down

0 comments on commit 4a79653

Please sign in to comment.