aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 7edfbd468042..68f66b320a88 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -107,14 +107,14 @@ static int comp_keys(struct btrfs_disk_key *disk, struct btrfs_key *k2)
107 return 1; 107 return 1;
108 if (k1.objectid < k2->objectid) 108 if (k1.objectid < k2->objectid)
109 return -1; 109 return -1;
110 if (k1.offset > k2->offset)
111 return 1;
112 if (k1.offset < k2->offset)
113 return -1;
114 if (k1.flags > k2->flags) 110 if (k1.flags > k2->flags)
115 return 1; 111 return 1;
116 if (k1.flags < k2->flags) 112 if (k1.flags < k2->flags)
117 return -1; 113 return -1;
114 if (k1.offset > k2->offset)
115 return 1;
116 if (k1.offset < k2->offset)
117 return -1;
118 return 0; 118 return 0;
119} 119}
120 120