diff options
author | 2019-11-13 16:03:18 +0800 | |
---|---|---|
committer | 2019-11-13 15:42:50 -0700 | |
commit | aaf8dbeab5865720c66db60ae8329309e81a0c9c (patch) | |
tree | fb9032e81fad5cfee8e32b243cb42cb9ca28f57a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcache: fix static checker warning in bcache_device_free() (diff) | |
download | linux-rng-aaf8dbeab5865720c66db60ae8329309e81a0c9c.tar.xz linux-rng-aaf8dbeab5865720c66db60ae8329309e81a0c9c.zip |
bcache: add more accurate error messages in read_super()
Previous code only returns "Not a bcache superblock" for both bcache
super block offset and magic error. This patch addss more accurate error
messages,
- for super block unmatched offset:
"Not a bcache superblock (bad offset)"
- for super block unmatched magic number:
"Not a bcache superblock (bad magic)"
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions