xfs: replace E2BIG with EFBIG where appropriate
authorEric Sandeen <sandeen@sandeen.net>
Fri, 30 Apr 2010 03:42:49 +0000 (03:42 +0000)
committerAlex Elder <aelder@sgi.com>
Fri, 28 May 2010 19:58:16 +0000 (14:58 -0500)
Many places in the xfs code return E2BIG when they really mean
EFBIG; trying to grow past 16T on a 32 bit machine, for example,
says "Argument list too long" rather than "File too large" which is
not particularly helpful.

Some of these don't make perfect sense as EFBIG either, but still
better than E2BIG IMHO.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Alex Elder <aelder@sgi.com>

No differences found