Files
linux/drivers/md
Shenghui Wang 5750a2d493 bcache: recal cached_dev_sectors on detach
[ Upstream commit 46010141da ]

Recal cached_dev_sectors on cached_dev detached, as recal done on
cached_dev attached.

Update the cached_dev_sectors before bcache_device_detach called
as bcache_device_detach will set bcache_device->c to NULL.

Signed-off-by: Shenghui Wang <shhuiw@foxmail.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-24 08:23:22 +01:00
..
2017-06-09 09:27:32 -06:00
2017-06-09 09:27:32 -06:00