summaryrefslogtreecommitdiff
path: root/ctree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-29 15:15:49 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-29 15:15:49 -0400
commitb21892315c8e574ef82e9ad6e7565941a9b26f87 (patch)
tree592012ae22c2f0daf470ac988f85b0f3943cd997 /ctree.c
parentf66f572037956a6646cc0c25975c8105d36f58d6 (diff)
csum data struct changes
Diffstat (limited to 'ctree.c')
-rw-r--r--ctree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ctree.c b/ctree.c
index b0b13bca..e91ff8da 100644
--- a/ctree.c
+++ b/ctree.c
@@ -107,14 +107,14 @@ static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2)
return 1;
if (k1.objectid < k2->objectid)
return -1;
- if (k1.flags > k2->flags)
- return 1;
- if (k1.flags < k2->flags)
- return -1;
if (k1.offset > k2->offset)
return 1;
if (k1.offset < k2->offset)
return -1;
+ if (k1.flags > k2->flags)
+ return 1;
+ if (k1.flags < k2->flags)
+ return -1;
return 0;
}