commit | 18edc0b9d7dac2f74117a0bdb98f2e705eb74d82 | [log] [tgz] |
---|---|---|
author | Lars Ellenberg <lars.ellenberg@linbit.com> | Tue Nov 09 14:12:10 2010 +0100 |
committer | Philipp Reisner <philipp.reisner@linbit.com> | Thu Mar 10 11:19:04 2011 +0100 |
tree | 046016ff1349564bbd77d94212e4689bd0af5390 | |
parent | 2649f0809f55e4df98c333a2b85c6fc8fee04804 [diff] |
drbd: fix potential wrap of 32bit oos:%lu display in /proc/drbd When converting bits (4k resolution, still) to kB, we shift left. If it was a large number of bits on a 32bit box (>= 4 TiB storage), we may wrap the 32bit unsigned long base type, resulting in incorrect display. Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>