]> sourceware.org Git - lvm2.git/commit
fix: use 64bit math for reserved memory
authorZdenek Kabelac <zkabelac@redhat.com>
Thu, 21 Jun 2012 10:59:14 +0000 (12:59 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 22 Jun 2012 11:32:19 +0000 (13:32 +0200)
commit192fa11dab177027ad349363b39ff6435524b23d
tree6a7b7d2e7691ff1e776ca4a094d6f8a370bf09b0
parent6f3cd63551db013e3cf5dfcebc41115322d5cfe9
fix: use 64bit math for reserved memory

If the user specifies number in the range of [4G/1024, 4G>,
the used value would wrap around (32bit math).
So keep the math 64bit.

Note, using such large lvm.conf values is pointless with lvm2.
WHATS_NEW
lib/mm/memlock.c
This page took 0.030617 seconds and 5 git commands to generate.