mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-22 00:00:03 +03:00
fix(libbcachefs/ioctl): dirfd
should be a signed 32 bits integer
`AT_FDCWD` is defined as a macro constant: -100, it works in C… because C. But in Rust, this will be exposed as a u32 instead of a i32, which is the correct variable type for it.
This commit is contained in:
parent
38b8d01c4c
commit
234fe664b1
@ -379,7 +379,7 @@ struct bch_ioctl_disk_resize_journal {
|
||||
|
||||
struct bch_ioctl_subvolume {
|
||||
__u32 flags;
|
||||
__u32 dirfd;
|
||||
__s32 dirfd;
|
||||
__u16 mode;
|
||||
__u16 pad[3];
|
||||
__u64 dst_ptr;
|
||||
|
Loading…
Reference in New Issue
Block a user