Skip to content

Commit 91357b1

Browse files
authored
Add btrfs headers (#132)
1 parent bee883b commit 91357b1

22 files changed

Lines changed: 32415 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ static_assertions = "1.1.0"
2121
libc = "0.2.100"
2222

2323
[package.metadata.docs.rs]
24-
features = ["default", "bootparam", "ioctl", "netlink", "io_uring", "if_arp", "if_ether", "if_packet", "net", "prctl", "elf", "xdp", "mempolicy", "system", "loop_device"]
24+
features = ["default", "bootparam", "btrfs", "ioctl", "netlink", "io_uring", "if_arp", "if_ether", "if_packet", "net", "prctl", "elf", "xdp", "mempolicy", "system", "loop_device"]
2525
targets = ["x86_64-unknown-linux-gnu", "i686-unknown-linux-gnu"]
2626

2727
[lints.rust.unexpected_cfgs]
@@ -33,6 +33,7 @@ check-cfg = [
3333
# The rest of this file is auto-generated!
3434
[features]
3535
bootparam = []
36+
btrfs = []
3637
errno = []
3738
general = []
3839
if_arp = []

gen/include/stddef.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#define offsetof(t, d) __builtin_offsetof(t, d)

gen/modules/btrfs.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#include <linux/btrfs.h>
2+
#include <linux/btrfs_tree.h>

0 commit comments

Comments
 (0)