diff options
author | 2020-07-25 20:00:28 +0800 | |
---|---|---|
committer | 2020-07-25 07:38:20 -0600 | |
commit | 198efa35c526d1616e4e8b2ce5299878412e2693 (patch) | |
tree | d44ee8f5d2c28bab21b2413c60f3af4150c10521 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bcache: increase super block version for cache device and backing device (diff) | |
download | wireguard-linux-198efa35c526d1616e4e8b2ce5299878412e2693.tar.xz wireguard-linux-198efa35c526d1616e4e8b2ce5299878412e2693.zip |
bcache: move bucket related code into read_super_common()
Setting sb->first_bucket and checking sb->keys indeed are only for cache
device, it does not make sense to do them in read_super() for backing
device too.
This patch moves the related code piece into read_super_common()
explicitly for cache device and avoid the confusion.
Signed-off-by: Coly Li <colyli@suse.de>
Reviewed-by: Hannes Reinecke <hare@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