On 11/4/19 1:26 AM, Ming Lei wrote: > 8962842ca5ab ("blk-mq: avoid sysfs buffer overflow with too many CPU cores") > avoids sysfs buffer overflow, and reserves one charactor for line break. > However, the last snprintf() doesn't get correct 'size' parameter passed > in, so fixed it. > > Fixes: 8962842ca5ab ("blk-mq: avoid sysfs buffer overflow with too many CPU cores") > Signed-off-by: Ming Lei <ming.lei@xxxxxxxxxx> Applied, thanks. -- Jens Axboe