Re: mnt_count accounting broken

From: Alexander Viro (viro@math.psu.edu)
Date: Fri May 05 2000 - 15:46:57 EDT

  • Next message: Christopher J. Reimer: "2.3.99-pre6 Lack of Boot problems"

    On Fri, 5 May 2000, Tigran Aivazian wrote:

    > Dear People, I am sorry but did you read my log at all? Both Linus and Al
    > claim that the problem is umounting the nonempty fs but I think I
    > illustrated clearly that even when ramfs filesystem is empty - it cannot
    > be umounted. Here is the extract:
    >
    > # mount -t ramfs none /mnt/m5
    > # touch /mnt/m5/new
    > # umount /mnt/m5
    > C: count!=2 (3)
    > umount: /mnt/m5: device is busy
    > # rm /mnt/m5/new
    > # umount /mnt/m5
    > A: mnt_count>2 (3)

    Interesting... I might screw up with unlink(2), but then it would be
    immediately visible on _every_ fs. I'll try to look into that.

    -
    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 - 17:27:28 EDT