diff options
| author | 2020-07-25 20:00:23 +0800 | |
|---|---|---|
| committer | 2020-07-25 07:38:20 -0600 | |
| commit | 5b21403c7f48b7d2312b302ab9e8468ec2c711a3 (patch) | |
| tree | 3230a9f33bdb304b43d0a6bba64b48260171e311 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | bcache: fix overflow in offset_to_stripe() (diff) | |
| download | linux-dev-5b21403c7f48b7d2312b302ab9e8468ec2c711a3.tar.xz linux-dev-5b21403c7f48b7d2312b302ab9e8468ec2c711a3.zip | |
bcache: add read_super_common() to read major part of super block
Later patches will introduce feature set bits to on-disk super block and
increase super block version. Current code in read_super() which reads
common part of super block for version BCACHE_SB_VERSION_CDEV and version
BCACHE_SB_VERSION_CDEV_WITH_UUID will be shared with the new version.
Therefore this patch moves the reusable part into read_super_common(),
this preparation patch will make later patches more simplier and only
focus on new feature set bits.
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
