Re: [PATCH]Fix bug:rmdir could remove current working directory

From: Ricky Beam (
Date: Wed Oct 10 2001 - 17:21:01 EST

On Wed, 10 Oct 2001, Mingming cao wrote:
>I read the man page of
>rmdir(2). It says in this case EBUSY error should be returned. I
>suspected this is a bug and added a check in vfs_rmdir(). The following
>patch is against 2.4.10 and has been verified. Please comment and

The bug is in the manpage. This was discussed over a year ago (some time
after 2.1.44 introduced dcache (it was broken then, but that's when it


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Oct 15 2001 - 21:00:35 EST