Re: [PATCH 1/1] hostfs: fix UML crash

From: Richard Weinberger
Date: Tue Oct 19 2010 - 06:27:43 EST


On Tue, 19 Oct 2010 03:11:25 +0200, Christoph Hellwig <hch@xxxxxx>
wrote:
> On Mon, Oct 18, 2010 at 01:02:08PM -0700, Andrew Morton wrote:
>> > >
>> > > Is there any reason for hostfs to be playing with the f_spare field at all?
>
> No, there is no reason at all. do_statfs is only called by
> hostfs_statfs, which is the hostfs implementation of ->statfs. zeroing
> of the spare fields is done by common code (vfs_statfs_native).

Thanks!

> Can you submit a patch to just remove the spare_out argument to do_statfs?

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