Re: mnt_count accounting broken

From: Tigran Aivazian (tigran@veritas.com)
Date: Fri May 05 2000 - 10:04:37 EST


On Fri, 5 May 2000, Alexander Viro wrote:
> On Fri, 5 May 2000, Tigran Aivazian wrote:
>
> > > > Can you reproduce it _not_ on a ramfs?
> >
> > further clue - mounting ramfs with "-o noatime" makes the problems go away
> > - it umounts fine. but I thought this would affect the if (rooti->i_state)
> > check and not the if(mnt->mnt_count >2) check... I am confused - still
> > looking. (as a workaround I forced sb->s_flags |= MS_NOATIME for nullfs as
> > I don't need atime anyway ;) but still I want to know what's going on...
>
> Funny, that... Do you, by chance, have any symlinks around?

that was my first thought (because do_follow_link calls it) so I made sure
that neither the mountpoint nor any files I accessed are symlinks.

Regards,
Tigran

-
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 : Sun May 07 2000 - 21:00:17 EST