summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/ctree.h b/ctree.h
index 178ab79c..62478941 100644
--- a/ctree.h
+++ b/ctree.h
@@ -56,7 +56,6 @@ struct btrfs_header {
u8 fsid[16]; /* FS specific uuid */
__le64 blocknr; /* which block this node is supposed to live in */
__le64 generation;
- __le64 parentid; /* objectid of the tree root */
__le16 nritems;
__le16 flags;
u8 level;
@@ -143,7 +142,6 @@ struct btrfs_path {
*/
struct btrfs_extent_item {
__le32 refs;
- __le64 owner;
} __attribute__ ((__packed__));
struct btrfs_inode_timespec {
@@ -431,16 +429,6 @@ static inline void btrfs_set_timespec_nsec(struct btrfs_inode_timespec *ts,
ts->nsec = cpu_to_le32(val);
}
-static inline u64 btrfs_extent_owner(struct btrfs_extent_item *ei)
-{
- return le64_to_cpu(ei->owner);
-}
-
-static inline void btrfs_set_extent_owner(struct btrfs_extent_item *ei, u64 val)
-{
- ei->owner = cpu_to_le64(val);
-}
-
static inline u32 btrfs_extent_refs(struct btrfs_extent_item *ei)
{
return le32_to_cpu(ei->refs);
@@ -640,17 +628,6 @@ static inline void btrfs_set_header_generation(struct btrfs_header *h,
h->generation = cpu_to_le64(val);
}
-static inline u64 btrfs_header_parentid(struct btrfs_header *h)
-{
- return le64_to_cpu(h->parentid);
-}
-
-static inline void btrfs_set_header_parentid(struct btrfs_header *h,
- u64 parentid)
-{
- h->parentid = cpu_to_le64(parentid);
-}
-
static inline u16 btrfs_header_nritems(struct btrfs_header *h)
{
return le16_to_cpu(h->nritems);