Remove offset field from struct btrfs_extent_ref
authorYan Zheng <zheng.yan@oracle.com>
Thu, 9 Oct 2008 15:55:30 +0000 (11:55 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 9 Oct 2008 15:55:30 +0000 (11:55 -0400)
commit5986faaf479a38b0ebd2872e880d0bd81481d95b
tree3343c6e9b7e6f6f7642dad998da868a39068f96b
parent09ab0365ff14c5481a2b0f3b401666d2fab3d05a
Remove offset field from struct btrfs_extent_ref

The offset field in struct btrfs_extent_ref records the position
inside file that file extent is referenced by. In the new back
reference system, tree leaves holding reference to file extent
are recorded explicitly. We can quickly scan these tree leaves, so the
offset field is not required.

This patch also makes the back reference system check the objectid
when extents are being deleted

Signed-off-by: Yan Zheng <zheng.yan@oracle.com>
btrfsck.c
ctree.c
ctree.h
debug-tree.c
extent-tree.c
print-tree.c
utils.c