Re: [patch] s_maxbytes handling

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 22 May 2001 14:27:45 +0100 (BST)


> If ->f_pos is positioned exactly at sb->s_maxbytes, a non-zero-length
> write to the file doesn't write anything, and write() returns zero.

Are you absolutely sure here. Because I ran that code through a set of standards
verification tests. So unless you can cite page and paragraph from SuS and
the LFS spec I think the 0 might in fact be correct..

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/