summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorHugh Dickins <hugh@veritas.com>2006-10-28 10:38:41 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-28 11:30:53 -0700
commitb9d7e6ae82da124dc9c579fe1061264ef2a69407 (patch)
tree868894a168bd7873232cada240acf88a252014cb /init
parent7b92aadfdae85ef837db343be38d4172115be72b (diff)
downloadlinux-stable-b9d7e6ae82da124dc9c579fe1061264ef2a69407.tar.gz
linux-stable-b9d7e6ae82da124dc9c579fe1061264ef2a69407.tar.bz2
linux-stable-b9d7e6ae82da124dc9c579fe1061264ef2a69407.zip
[PATCH] hugetlb: fix size=4G parsing
On 32-bit machines, mount -t hugetlbfs -o size=4G gave a 0GB filesystem, size=5G gave a 1GB filesystem etc: there's no point in masking size with HPAGE_MASK just before shifting its lower bits away, and since HPAGE_MASK is a UL, that removed all the higher bits of the unsigned long long size. Signed-off-by: Hugh Dickins <hugh@veritas.com> Cc: Adam Litke <agl@us.ibm.com> Cc: David Gibson <david@gibson.dropbear.id.au> Cc: "Chen, Kenneth W" <kenneth.w.chen@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions