Re: [patch] s_maxbytes handling

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Tue May 22 2001 - 08:27:45 EST


> 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/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:45 EST