diff options
author | Josef Bacik <jbacik@fb.com> | 2015-04-17 14:02:15 -0400 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2015-04-24 15:42:04 +0200 |
commit | 2681e00f00fe3dc0eb5d78dfeb344d18fccaeb6c (patch) | |
tree | c69c413ce7f4b3d4372441635b5d0d29890cec68 /ctree.h | |
parent | fb399a13013889c9dc91ba75d4d6ce549500d2f2 (diff) | |
download | btrfs-progs-2681e00f00fe3dc0eb5d78dfeb344d18fccaeb6c.tar.gz |
btrfs-progs: check for matching free space in cache
We have this check in the kernel but not in userspace, which makes fsck
fail when we wouldn't have a problem in the kernel. This was meant to
catch this case because it really isn't good, unfortunately it will
require a design change to fix in the kernel so in the meantime add this
check so we can be sure our tests only catch real problems. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -936,6 +936,7 @@ struct btrfs_block_group_cache { struct btrfs_block_group_item item; struct btrfs_space_info *space_info; struct btrfs_free_space_ctl *free_space_ctl; + u64 bytes_super; u64 pinned; u64 flags; int cached; |