diff options
author | Christophe de Dinechin <dinechin@redhat.com> | 2017-04-28 11:51:21 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-05-02 19:01:50 +0200 |
commit | 091a1138bd64a789e76e3e5b6ff65cce2cfc599c (patch) | |
tree | efe5ce10b9f1957dfb39870cad4afcc22f9f964c /inode.c | |
parent | 05011bf0d49d6b7e4ec5c2ac6c0181544f3a5b85 (diff) |
btrfs-progs: check: make max_size consistent with nr
Since we memset tmpl, max_size==0. This does not seem consistent with nr = 1.
In check_extent_refs, we will call:
set_extent_dirty(root->fs_info->excluded_extents,
rec->start,
rec->start + rec->max_size - 1);
This ends up with BUG_ON(end < start) in insert_state.
Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'inode.c')
0 files changed, 0 insertions, 0 deletions