summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJon Tollefson <kniht@linux.vnet.ibm.com>2008-07-23 21:27:55 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 10:47:19 -0700
commitf4a67cceee4a6f5ed38011a698c9e34747270ae5 (patch)
tree6da3eed51a938e1680a6212c56f9383bcf5670e0 /samples
parent91224346aa8c1cdaa660300a98e0b074a3a95030 (diff)
downloadop-kernel-dev-f4a67cceee4a6f5ed38011a698c9e34747270ae5.zip
op-kernel-dev-f4a67cceee4a6f5ed38011a698c9e34747270ae5.tar.gz
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 <nacc@us.ibm.com> Signed-off-by: Jon Tollefson <kniht@linux.vnet.ibm.com> Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud