Re: [PATCH] direct IO breaks root filesystem

Tachino Nobuhiro (tachino@open.nm.fujitsu.co.jp)
Wed, 12 Dec 2001 09:51:22 +0900


At Tue, 11 Dec 2001 16:34:15 -0800 (PST),
Linus Torvalds wrote:
>
>
> On Wed, 12 Dec 2001, Tachino Nobuhiro wrote:
> >
> > Your patch will break Goto's fix because mapping->host does not have
> > correct i_mode.
>
> Note that Goto's fix really is quite _fundamentally_ broken. Don't use it.
>

OK.

But my patch fixes another bug. Current /dev/ram* does not return -ENOSPC
at the end of device size because generic_file_write() also checks whether
mapping->host is a block device. So I think the patch is required.
-
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/