diff options
author | Hugo Mills <hugo@carfax.org.uk> | 2014-05-05 18:07:49 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-08-22 14:43:10 +0200 |
commit | b5fc0b90144c37532f68839f36be08e05c0767bf (patch) | |
tree | 31d9c1dbd14c582e529003f466cc1ea2e79839bc /mkfs.c | |
parent | 8efdd3ca4cbeaf51908f04ba9ea1fb689a30241f (diff) |
btrfs-progs: check: Fix wrong level access
There's no reason to assume that the bad key order is in a leaf block,
so accessing level 0 of the path is going to be an error if it's actually
a node block that's bad.
Reported-by: Chris Mason <clm@fb.com>
Signed-off-by: Hugo Mills <hugo@carfax.org.uk>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'mkfs.c')
0 files changed, 0 insertions, 0 deletions