exofs: statfs blocks is sectors not FS blocks
authorBoaz Harrosh <bharrosh@panasas.com>
Mon, 2 Nov 2009 16:19:24 +0000 (18:19 +0200)
committerBoaz Harrosh <bharrosh@panasas.com>
Thu, 10 Dec 2009 07:59:21 +0000 (09:59 +0200)
commitcae012d8532879544326fff5fa2ae22a6dfe8e23
tree7958c2c11cee1b0c342f7902cd538dcec679989e
parent19fe294f2eaee33574ac1fdcf3cc26880de820ea
exofs: statfs blocks is sectors not FS blocks

Even though exofs has a 4k block size, statfs blocks
is in sectors (512 bytes).

Also if target returns 0 for capacity then make it
ULLONG_MAX. df does not like zero-size filesystems

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
fs/exofs/super.c