libbtrfs 0.0.20

Rust library for working with the btrfs filesystem
Documentation
#include <linux/version.h>

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 15, 1)
/*
 * updates to btrfs.h:
 * 	inner union field to struct btrfs_ioctl_defrag_range_args
 */
#define __LINUX_VERSION_6_15
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 13, 1)
/*
 * updates to btrfs.h:
 * 	struct struct btrfs_ioctl_subvol_wait
 * 	#define BTRFS_IOC_SUBVOL_SYNC_WAIT
 */
#define __LINUX_VERSION_6_13
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 1)
/*
 * updates to btrfs.h:
 * 	fsid field to struct btrfs_ioctl_dev_info_args
 *
 */
#define __LINUX_VERSION_6_3
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 2, 1)
/*
 * updates to btrfs_tree.h:
 * 	struct btrfs_header
 * 	struct btrfs_root_backup
 * 	struct btrfs_node
 * 	struct btrfs_super_block
 * 	struct btrfs_item
 * 	struct btrfs_leaf
 * 	struct btrfs_key_ptr
 *
 */
#define __LINUX_VERSION_6_2
#endif

#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 12, 1)
/*
 * fstatfs syscall can be called on a file descriptor opened with O_PATH
 */
#define __LINUX_VERSION_3_12
#endif