]> git.sesse.net Git - bcachefs-tools-debian/commit
fix(libbcachefs/ioctl): `dirfd` should be a signed 32 bits integer
authorRaito Bezarius <masterancpp@gmail.com>
Sat, 27 Jan 2024 01:29:31 +0000 (02:29 +0100)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 27 Jan 2024 01:39:08 +0000 (20:39 -0500)
commit234fe664b1444dc8ba5309bd6bbfdf83862467b3
treed29e8f356a88cdacf1fd99e925a8fea7184abc43
parent38b8d01c4cf823d9804451eff5ec811c17b03408
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.
libbcachefs/bcachefs_ioctl.h