projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5cdedd
)
btrfs: verbose error when we find an unexpected item in sys_array
author
David Sterba
<dsterba@suse.com>
Mon, 30 Nov 2015 16:27:09 +0000
(17:27 +0100)
committer
David Sterba
<dsterba@suse.com>
Thu, 7 Jan 2016 13:26:58 +0000
(14:26 +0100)
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/volumes.c
patch
|
blob
|
history
diff --git
a/fs/btrfs/volumes.c
b/fs/btrfs/volumes.c
index dc6697cfae0ca62a553d304710d5bae956d29c2c..0577d7f4c442d307ad750ef7f52b6d1917dd5a37 100644
(file)
--- 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;
}