Commit 93a3d467 authored by David Sterba's avatar David Sterba

btrfs: verbose error when we find an unexpected item in sys_array

Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent f5cdedd7
...@@ -6520,6 +6520,9 @@ int btrfs_read_sys_array(struct btrfs_root *root) ...@@ -6520,6 +6520,9 @@ int btrfs_read_sys_array(struct btrfs_root *root)
if (ret) if (ret)
break; break;
} else { } else {
printk(KERN_ERR
"BTRFS: unexpected item type %u in sys_array at offset %u\n",
(u32)key.type, cur_offset);
ret = -EIO; ret = -EIO;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment