From: Alan Cox Date: Wed, 17 Oct 2007 06:30:22 +0000 (-0700) Subject: fs: correct SuS compliance for open of large file without options X-Git-Tag: v2.6.24-rc1~592 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9c62a18a291499d15a370d08771e781fbaf91e6;p=pandora-kernel.git fs: correct SuS compliance for open of large file without options The early LFS work that Linux uses favours EFBIG in various places. SuSv3 specifically uses EOVERFLOW for this as noted by Michael (Bug 7253) [EOVERFLOW] The named file is a regular file and the size of the file cannot be represented correctly in an object of type off_t. We should therefore transition to the proper error return code Signed-off-by: Alan Cox Cc: Theodore Tso Cc: Jens Axboe Cc: Arjan van de Ven Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed