OSDN Git Service

bcache: return a pointer to the on-disk sb from read_super
authorChristoph Hellwig <hch@lst.de>
Thu, 23 Jan 2020 17:01:32 +0000 (01:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 23 Jan 2020 18:40:01 +0000 (11:40 -0700)
commitcfa0c56db9c087227988f6af2c7b9888d24a3b16
treee08a968df0663d0d5ac67538187f31e49cc55a18
parentfc8f19cc5dce183cde4fecb9a1da07d81fa6ea8d
bcache: return a pointer to the on-disk sb from read_super

Returning the properly typed actual data structure insteaf of the
containing struct page will save the callers some work going
forward.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c