From: Jon Tollefson Date: Thu, 24 Jul 2008 04:27:55 +0000 (-0700) Subject: fs: check for statfs overflow X-Git-Tag: v2.6.27-rc1~779 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4a67cceee4a6f5ed38011a698c9e34747270ae5;p=pandora-kernel.git fs: check for statfs overflow Adds a check for an overflow in the filesystem size so if someone is checking with statfs() on a 16G blocksize hugetlbfs in a 32bit binary that it will report back EOVERFLOW instead of a size of 0. Acked-by: Nishanth Aravamudan Signed-off-by: Jon Tollefson Signed-off-by: Nick Piggin Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed