]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb4a720d83275df17d03a6292df054fa29161ca4
treec3841761a48175aaab67c4e7293ae4d86b44b393
parentb4efc7e89cf3f285ab20ac238b2e6543192774f0
xfs: replace E2BIG with EFBIG where appropriate

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>
fs/xfs/xfs_mount.c
fs/xfs/xfs_rtalloc.c