From dc54fb8a24a8434d488ed2a230341401af6a53e4 Mon Sep 17 00:00:00 2001 From: "Anthony G. Basile" Date: Tue, 5 Aug 2014 09:48:42 -0400 Subject: src/libudev/missing.h: clean up unused BTRFS_* decls Signed-off-by: Anthony G. Basile --- src/libudev/missing.h | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) (limited to 'src/libudev') diff --git a/src/libudev/missing.h b/src/libudev/missing.h index 242e3c8d2e..471a81120c 100644 --- a/src/libudev/missing.h +++ b/src/libudev/missing.h @@ -49,54 +49,11 @@ #define BTRFS_PATH_NAME_MAX 4087 #endif -#ifndef BTRFS_DEVICE_PATH_NAME_MAX -#define BTRFS_DEVICE_PATH_NAME_MAX 1024 -#endif - -#ifndef BTRFS_FSID_SIZE -#define BTRFS_FSID_SIZE 16 -#endif - -#ifndef BTRFS_UUID_SIZE -#define BTRFS_UUID_SIZE 16 -#endif - #ifndef HAVE_LINUX_BTRFS_H struct btrfs_ioctl_vol_args { int64_t fd; char name[BTRFS_PATH_NAME_MAX + 1]; }; - -struct btrfs_ioctl_dev_info_args { - uint64_t devid; /* in/out */ - uint8_t uuid[BTRFS_UUID_SIZE]; /* in/out */ - uint64_t bytes_used; /* out */ - uint64_t total_bytes; /* out */ - uint64_t unused[379]; /* pad to 4k */ - char path[BTRFS_DEVICE_PATH_NAME_MAX]; /* out */ -}; - -struct btrfs_ioctl_fs_info_args { - uint64_t max_id; /* out */ - uint64_t num_devices; /* out */ - uint8_t fsid[BTRFS_FSID_SIZE]; /* out */ - uint64_t reserved[124]; /* pad to 1k */ -}; -#endif - -#ifndef BTRFS_IOC_DEFRAG -#define BTRFS_IOC_DEFRAG _IOW(BTRFS_IOCTL_MAGIC, 2, \ - struct btrfs_ioctl_vol_args) -#endif - -#ifndef BTRFS_IOC_DEV_INFO -#define BTRFS_IOC_DEV_INFO _IOWR(BTRFS_IOCTL_MAGIC, 30, \ - struct btrfs_ioctl_dev_info_args) -#endif - -#ifndef BTRFS_IOC_FS_INFO -#define BTRFS_IOC_FS_INFO _IOR(BTRFS_IOCTL_MAGIC, 31, \ - struct btrfs_ioctl_fs_info_args) #endif #ifndef BTRFS_IOC_DEVICES_READY @@ -104,10 +61,6 @@ struct btrfs_ioctl_fs_info_args { struct btrfs_ioctl_vol_args) #endif -#ifndef BTRFS_SUPER_MAGIC -#define BTRFS_SUPER_MAGIC 0x9123683E -#endif - #ifndef MS_MOVE #define MS_MOVE 8192 #endif -- cgit v1.2.3-54-g00ecf