Re: [patch 1/5] cramfs: small stat(2) fix

From: Greg KH
Date: Wed Mar 09 2005 - 14:01:54 EST


On Fri, Mar 04, 2005 at 01:16:54PM -0800, akpm@xxxxxxxx wrote:
>
> From: Eric Lammerts <eric@xxxxxxxxxxxx>
>
> When I stat(2) a device node on a cramfs, the st_blocks field is bogus
> (it's derived from the size field which in this case holds the major/minor
> numbers). This makes du(1) output completely wrong.
>
> Signed-off-by: Eric Lammerts <eric@xxxxxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxx>

Added to the -stable queue, thanks.

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