summaryrefslogtreecommitdiff
path: root/btrfsck.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2009-04-15 14:30:14 -0400
committerChris Mason <chris.mason@oracle.com>2009-04-15 14:30:14 -0400
commitcc04d99e90b4981b188e3308eaa1fee68af08d54 (patch)
treebcc3ecc4e259da15adb1fc60aeac3dbf074870d3 /btrfsck.c
parentb8420fabb8c675dd607eb98ff362ac69a18b4264 (diff)
Add scan of the btrfs log tree to btrfs-debug-tree
Diffstat (limited to 'btrfsck.c')
-rw-r--r--btrfsck.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/btrfsck.c b/btrfsck.c
index 5834ca3d..c5050888 100644
--- a/btrfsck.c
+++ b/btrfsck.c
@@ -115,9 +115,9 @@ struct inode_record {
#define I_ERR_ODD_FILE_EXTENT (1 << 5)
#define I_ERR_BAD_FILE_EXTENT (1 << 6)
#define I_ERR_FILE_EXTENT_OVERLAP (1 << 7)
-#define I_ERR_FILE_EXTENT_DISCOUNT (1 << 8)
+#define I_ERR_FILE_EXTENT_DISCOUNT (1 << 8) // 100
#define I_ERR_DIR_ISIZE_WRONG (1 << 9)
-#define I_ERR_FILE_NBYTES_WRONG (1 << 10)
+#define I_ERR_FILE_NBYTES_WRONG (1 << 10) // 400
#define I_ERR_ODD_CSUM_ITEM (1 << 11)
#define I_ERR_SOME_CSUM_MISSING (1 << 12)
@@ -2081,7 +2081,6 @@ int main(int ac, char **av)
ret = check_extents(root);
if (ret)
goto out;
-
ret = check_fs_roots(root);
out: