Re: [CHECKER] warning in 2.4.19/fs/ext2/dir.c:ext2_empty_dir where a non-empty dir may be wrongly deleted

From: viro
Date: Mon Feb 23 2004 - 20:04:46 EST


On Mon, Feb 23, 2004 at 04:47:36PM -0800, Junfeng Yang wrote:
>
> The bug reported in this messaage appears to cause a non-empty directory
> to be wrongly deleted by sys_rmdir.

[ENOMEM returned by ext2_get_page() gets ignored, leading to breakage, 2.4
and 2.6 alike]

That's serious and yes, there are other cases like that. Fun...
OK, hopefully I'll have patches by tonight.
-
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/