summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_receiver.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2016-06-14 00:26:18 +0200
committerJens Axboe <axboe@fb.com>2016-06-13 21:43:04 -0600
commit0982368bfd59647b4f30415c9ed038f60b859875 (patch)
tree76e8b5f447338ab783052665f2d3a8e7059ab65b /drivers/block/drbd/drbd_receiver.c
parent1b228c98ceae9e6cbdf874360ff3c325fa6ac1ad (diff)
downloadop-kernel-dev-0982368bfd59647b4f30415c9ed038f60b859875.zip
op-kernel-dev-0982368bfd59647b4f30415c9ed038f60b859875.tar.gz
drbd: fix for truncated minor number in callback command line
The command line parameter the kernel module uses to communicate the device minor to userland helper is flawed in a way that the device indentifier "minor-%d" is being truncated to minors with a maximum of 5 digits. But DRBD 8.4 allows 2^20 == 1048576 minors, thus a minimum of 7 digits must be supported. Reported by Veit Wahlich on drbd-dev. Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/drbd/drbd_receiver.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud