Re: mnt_count accounting broken

From: Alexander Viro (aviro@redhat.com)
Date: Fri May 05 2000 - 07:39:19 EDT

  • Next message: Julian Anastasov: "Re: arp, kernel 2.2.15 and 2.3.99-pre6"

    On Fri, 5 May 2000, Tigran Aivazian wrote:

    > Hi Alexander,
    >
    > I am almost sure that you are aware of this fact but in the unlikely case
    > you are not - the mnt->mnt_count behaves incorrectly which causes
    > filesystems to be not-umountable when they should be. E.g. if you mount a
    > ramfs filesystem and then do a bit of io on it (chdir, creat, readdir,
    > unlink) so that at the end the state of the filesystem should be exactly
    > the same as in the beginning, it will fail to umount because
    > mnt->mnt_count > 2 (it is 3 actually).
    >
    > I will be finding out what causes it next.

    Can you reproduce it _not_ on a ramfs?

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



    This archive was generated by hypermail 2b29 : Fri May 05 2000 - 07:43:24 EDT