Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95029d7d authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Chris Mason
Browse files

Btrfs: change/remove typedef



Change one typedef to a regular enum, and remove an unused one.

Signed-off-by: default avatarJan Engelhardt <jengelh@medozas.de>
Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 653249ff
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -454,17 +454,11 @@ struct btrfs_timespec {
	__le32 nsec;
} __attribute__ ((__packed__));

typedef enum {
enum btrfs_compression_type {
	BTRFS_COMPRESS_NONE = 0,
	BTRFS_COMPRESS_ZLIB = 1,
	BTRFS_COMPRESS_LAST = 2,
} btrfs_compression_type;

/* we don't understand any encryption methods right now */
typedef enum {
	BTRFS_ENCRYPTION_NONE = 0,
	BTRFS_ENCRYPTION_LAST = 1,
} btrfs_encryption_type;
};

struct btrfs_inode_item {
	/* nfs style generation number */