summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-04-24 20:36:32 +0000
committerpeter <peter@FreeBSD.org>2003-04-24 20:36:32 +0000
commit88151c4f8ca4d10d745d93aa6b8fd9f458f69446 (patch)
tree75f12fcfbbc9bfe19385974cd98c775ec51abfe9 /sys/compat/linux/linux_ioctl.c
parentd15e80125318595fdd804ace2f47a363bab6b812 (diff)
downloadFreeBSD-src-88151c4f8ca4d10d745d93aa6b8fd9f458f69446.zip
FreeBSD-src-88151c4f8ca4d10d745d93aa6b8fd9f458f69446.tar.gz
Fix a bug with df on large (>1TB) nfsv3 file servers on 32 bit client
machines where the 'long' number of blocks in struct statfs wont fit. Instead of chosing an artificial 512 byte block size, simply scale it up until we avoid an overflow. NFSv3 reports the sizes in bytes, and the blocksize is a figment of nfsclient's imagination.
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud