Dongbo Cao 3a646fd776 bcache: panic fix for making cache device
when the nbuckets of cache device is smaller than 1024, making cache
device will trigger BUG_ON in kernel, add a condition to avoid this.

Reported-by: nitroxis <n@nxs.re>
Signed-off-by: Dongbo Cao <cdbdyx@163.com>
Signed-off-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-10-08 08:19:59 -06:00
..
2018-04-30 11:51:39 -04:00
2016-11-01 09:43:26 -06:00
2018-08-25 18:13:10 -07:00
2017-06-09 09:27:32 -06:00
2018-06-08 11:59:51 -04:00
2018-06-08 11:59:51 -04:00