diff options
author | David Sterba <dsterba@suse.com> | 2015-11-30 17:27:09 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-01-07 14:26:58 +0100 |
commit | 93a3d46780b0f207f76608078eb965cf7b83902c (patch) | |
tree | b369bc6c1a0a8d5cf57d33b407221368df73b6ab /fs/btrfs/volumes.c | |
parent | f5cdedd73fa71b74dcc42f2a11a5735d89ce7c4f (diff) | |
download | op-kernel-dev-93a3d46780b0f207f76608078eb965cf7b83902c.zip op-kernel-dev-93a3d46780b0f207f76608078eb965cf7b83902c.tar.gz |
btrfs: verbose error when we find an unexpected item in sys_array
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/volumes.c')
-rw-r--r-- | fs/btrfs/volumes.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/volumes.c b/fs/btrfs/volumes.c index dc6697c..0577d7f 100644 --- a/fs/btrfs/volumes.c +++ b/fs/btrfs/volumes.c @@ -6520,6 +6520,9 @@ int btrfs_read_sys_array(struct btrfs_root *root) if (ret) break; } else { + printk(KERN_ERR + "BTRFS: unexpected item type %u in sys_array at offset %u\n", + (u32)key.type, cur_offset); ret = -EIO; break; } |