[patch 3/15] fs/logfs/logfs.h

Arnd Bergmann arnd at arndb.de
Mon Apr 7 20:35:28 EDT 2008


On Tuesday 01 April 2008, joern at logfs.org wrote:
> +/*
> + * Private errno for accessed beyond end-of-file.  Only used internally to
> + * logfs.  If this ever gets exposed to userspace or even other parts of the
> + * kernel, it is a bug.  256 was chosen as a number sufficiently above all
> + * used errno #defines.
> + *
> + * It can be argued that this is a hack and should be replaced with something
> + * else.  My last attempt to do this failed spectacularly and there are more
> + * urgent problems that users actually care about.  This will remain for the
> + * moment.  Patches are welcome, of course.
> + */
> +#define EOF                    (512)
> +

Try to make the comment match the definition, it still says the value is 256.

	Arnd <><



More information about the linux-mtd mailing list