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-08-11 15:46:42 -06:00
2018-08-11 15:46:42 -06:00
2018-08-22 13:38:05 -07:00
2018-10-08 08:19:42 -06:00
2018-08-22 13:38:05 -07:00
2018-08-22 13:38:05 -07:00