Linux-kernel mailing list archive 1998-49,: Re: BUG in rmdir changes (was: Strange umount problem under Linux

# Re: BUG in rmdir changes (was: Strange umount problem under Linux

Matthias Hanisch (matze@camline.com)
Thu, 10 Dec 1998 09:46:09 +0100 (MET)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Robert Minichino: "Re: Dumb question: Which is "better" SCSI or IDE disks?"
- Previous message: =?iso-8859-1?Q?Lars_Marowsky-Br=E9e?=: "alloc_skb called nonatomically? (2.1.131ac6)"
- In reply to: H.J. Lu: "Re: BUG in rmdir changes (was: Strange umount problem under Linux"

On Wed, 9 Dec 1998, H.J. Lu wrote:

> > I've seen the same behavior and did some more investigations yesterday.
> > The problem are the rmdir changes in the VFS introduced with 2.1.131.
> >
> > The busy devices are caused by the removal of an non-existant directory.
> >
> > Look at the following session:
> >
> > pingu:~# umount /tmp
> > pingu:~# mount /tmp
> > pingu:~# rmdir /tmp/aaaaaaaaaaaaaaaa
> > rmdir: /tmp/aaaaaaaaaaaaaaaa: No such file or directory
> > pingu:~# umount /tmp
> > umount: /tmp: device is busy
> >
> > I've put some printk's in the umount code and it seems that the root
> > dentry has d_count = 2 at umount -> BUSY.
> >
> > This is with vanilla 2.1.131 and 2.1.131ac4, I've not tried later
> > ac-patches.
> >
>
> Does it work with 2.1.130?

2.1.130 doesn't have this problem and I've done a quick check with
2.1.131ac6 and the above behavior remains.

I just want to mention that the above problem is NOT caused by dynamic
linking together with ldconfig because I've relinked init with the "rpath"
feature so ld.so.cache isn't touched.

By the way this problem is reproducable with every mounted partition (even
MSDOS filesystems) so there must be something wrong in the VFS rmdir code.

Am I the only poor soul that sees this problem?

Matze

    --
    Matthias Hanisch    gesch.: matze@camline.com    priv.: matze@pingu.franken.de
                                +49 8137 935-219            +49 8441 82387

    "Modell 10 - Software from Experts for Experts"

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

- Next message: Robert Minichino: "Re: Dumb question: Which is "better" SCSI or IDE disks?"
- Previous message: =?iso-8859-1?Q?Lars_Marowsky-Br=E9e?=: "alloc_skb called nonatomically? (2.1.131ac6)"
- In reply to: H.J. Lu: "Re: BUG in rmdir changes (was: Strange umount problem under Linux"